"use strict";(self.webpackChunkburgers=self.webpackChunkburgers||[]).push([[179],{497:()=>{function re(e){return"function"==typeof e}function Qo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Xo=Qo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function kr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class mt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const s of n)s.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(re(r))try{r()}catch(s){t=s instanceof Xo?s.errors:[s]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const s of o)try{vd(s)}catch(i){t=t??[],i instanceof Xo?t=[...t,...i.errors]:t.push(i)}}if(t)throw new Xo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)vd(t);else{if(t instanceof mt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&kr(n,t)}remove(t){const{_finalizers:n}=this;n&&kr(n,t),t instanceof mt&&t._removeParent(this)}}mt.EMPTY=(()=>{const e=new mt;return e.closed=!0,e})();const yd=mt.EMPTY;function _d(e){return e instanceof mt||e&&"closed"in e&&re(e.remove)&&re(e.add)&&re(e.unsubscribe)}function vd(e){re(e)?e():e.unsubscribe()}const yn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Jo={setTimeout(e,t,...n){const{delegate:r}=Jo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Jo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Dd(e){Jo.setTimeout(()=>{const{onUnhandledError:t}=yn;if(!t)throw e;t(e)})}function Cd(){}const PD=ma("C",void 0,void 0);function ma(e,t,n){return{kind:e,value:t,error:n}}let _n=null;function Ko(e){if(yn.useDeprecatedSynchronousErrorHandling){const t=!_n;if(t&&(_n={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=_n;if(_n=null,n)throw r}}else e()}class ya extends mt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,_d(t)&&t.add(this)):this.destination=BD}static create(t,n,r){return new Lr(t,n,r)}next(t){this.isStopped?va(function RD(e){return ma("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?va(function FD(e){return ma("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?va(PD,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const LD=Function.prototype.bind;function _a(e,t){return LD.call(e,t)}class VD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){es(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){es(r)}else es(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){es(n)}}}class Lr extends ya{constructor(t,n,r){let o;if(super(),re(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let s;this&&yn.useDeprecatedNextContext?(s=Object.create(t),s.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&_a(t.next,s),error:t.error&&_a(t.error,s),complete:t.complete&&_a(t.complete,s)}):o=t}this.destination=new VD(o)}}function es(e){yn.useDeprecatedSynchronousErrorHandling?function kD(e){yn.useDeprecatedSynchronousErrorHandling&&_n&&(_n.errorThrown=!0,_n.error=e)}(e):Dd(e)}function va(e,t){const{onStoppedNotification:n}=yn;n&&Jo.setTimeout(()=>n(e,t))}const BD={closed:!0,next:Cd,error:function jD(e){throw e},complete:Cd},Da="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ca(e){return e}let we=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const s=function $D(e){return e&&e instanceof ya||function HD(e){return e&&re(e.next)&&re(e.error)&&re(e.complete)}(e)&&_d(e)}(n)?n:new Lr(n,r,o);return Ko(()=>{const{operator:i,source:a}=this;s.add(i?i.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=wd(r))((o,s)=>{const i=new Lr({next:a=>{try{n(a)}catch(u){s(u),i.unsubscribe()}},error:s,complete:o});this.subscribe(i)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Da](){return this}pipe(...n){return function Ed(e){return 0===e.length?Ca:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=wd(n))((r,o)=>{let s;this.subscribe(i=>s=i,i=>o(i),()=>r(s))})}}return e.create=t=>new e(t),e})();function wd(e){var t;return null!==(t=e??yn.Promise)&&void 0!==t?t:Promise}const UD=Qo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ts=(()=>{class e extends we{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new bd(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new UD}next(n){Ko(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ko(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ko(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:s}=this;return r||o?yd:(this.currentObservers=null,s.push(n),new mt(()=>{this.currentObservers=null,kr(s,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:s}=this;r?n.error(o):s&&n.complete()}asObservable(){const n=new we;return n.source=this,n}}return e.create=(t,n)=>new bd(t,n),e})();class bd extends ts{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:yd}}class GD extends ts{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Ft(e){return t=>{if(function zD(e){return re(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Rt(e,t,n,r,o){return new qD(e,t,n,r,o)}class qD extends ya{constructor(t,n,r,o,s,i){super(t),this.onFinalize=s,this.shouldUnsubscribe=i,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function vn(e,t){return Ft((n,r)=>{let o=0;n.subscribe(Rt(r,s=>{r.next(e.call(t,s,o++))}))})}function Xt(e){return this instanceof Xt?(this.v=e,this):new Xt(e)}function Ad(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Ma(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=e[s]&&function(i){return new Promise(function(a,u){!function o(s,i,a,u){Promise.resolve(u).then(function(l){s({value:l,done:a})},i)}(a,u,(i=e[s](i)).done,i.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Td=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Nd(e){return re(e?.then)}function xd(e){return re(e[Da])}function Od(e){return Symbol.asyncIterator&&re(e?.[Symbol.asyncIterator])}function Pd(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Fd=function g0(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Rd(e){return re(e?.[Fd])}function kd(e){return function Sd(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),s=[];return o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o;function i(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){s.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof Xt?Promise.resolve(f.value.v).then(l,c):d(s[0][2],f)}(r[f](h))}catch(p){d(s[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Xt(n.read());if(o)return yield Xt(void 0);yield yield Xt(r)}}finally{n.releaseLock()}})}function Ld(e){return re(e?.getReader)}function yt(e){if(e instanceof we)return e;if(null!=e){if(xd(e))return function m0(e){return new we(t=>{const n=e[Da]();if(re(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Td(e))return function y0(e){return new we(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Nd(e))return function _0(e){return new we(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Dd)})}(e);if(Od(e))return Vd(e);if(Rd(e))return function v0(e){return new we(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Ld(e))return function D0(e){return Vd(kd(e))}(e)}throw Pd(e)}function Vd(e){return new we(t=>{(function C0(e,t){var n,r,o,s;return function Md(e,t,n,r){return new(n||(n=Promise))(function(s,i){function a(c){try{l(r.next(c))}catch(d){i(d)}}function u(c){try{l(r.throw(c))}catch(d){i(d)}}function l(c){c.done?s(c.value):function o(s){return s instanceof n?s:new n(function(i){i(s)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Ad(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(i){o={error:i}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Jt(e,t,n,r=0,o=!1){const s=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(s),!o)return s}function ns(e,t,n=1/0){return re(t)?ns((r,o)=>vn((s,i)=>t(r,s,o,i))(yt(e(r,o))),n):("number"==typeof t&&(n=t),Ft((r,o)=>function E0(e,t,n,r,o,s,i,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{s&&t.next(g),l++;let y=!1;yt(n(g,c++)).subscribe(Rt(t,v=>{o?.(v),s?h(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&l<r;){const v=u.shift();i?Jt(t,i,()=>p(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Rt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const jd=new we(e=>e.complete());function Ia(e){return e[e.length-1]}function Bd(e){return function M0(e){return e&&re(e.schedule)}(Ia(e))?e.pop():void 0}function Hd(e,t=0){return Ft((n,r)=>{n.subscribe(Rt(r,o=>Jt(r,e,()=>r.next(o),t),()=>Jt(r,e,()=>r.complete(),t),o=>Jt(r,e,()=>r.error(o),t)))})}function $d(e,t=0){return Ft((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ud(e,t){if(!e)throw new Error("Iterable cannot be null");return new we(n=>{Jt(n,t,()=>{const r=e[Symbol.asyncIterator]();Jt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function rs(e,t){return t?function P0(e,t){if(null!=e){if(xd(e))return function A0(e,t){return yt(e).pipe($d(t),Hd(t))}(e,t);if(Td(e))return function N0(e,t){return new we(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Nd(e))return function T0(e,t){return yt(e).pipe($d(t),Hd(t))}(e,t);if(Od(e))return Ud(e,t);if(Rd(e))return function x0(e,t){return new we(n=>{let r;return Jt(n,t,()=>{r=e[Fd](),Jt(n,t,()=>{let o,s;try{({value:o,done:s}=r.next())}catch(i){return void n.error(i)}s?n.complete():n.next(o)},0,!0)}),()=>re(r?.return)&&r.return()})}(e,t);if(Ld(e))return function O0(e,t){return Ud(kd(e),t)}(e,t)}throw Pd(e)}(e,t):yt(e)}function Sa(...e){return rs(e,Bd(e))}function Gd(e={}){const{connector:t=(()=>new ts),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return s=>{let i,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),i=u=void 0,c=d=!1},p=()=>{const g=i;h(),g?.unsubscribe()};return Ft((g,y)=>{l++,!d&&!c&&f();const v=u=u??t();y.add(()=>{l--,0===l&&!d&&!c&&(a=Aa(p,o))}),v.subscribe(y),!i&&l>0&&(i=new Lr({next:m=>v.next(m),error:m=>{d=!0,f(),a=Aa(h,n,m),v.error(m)},complete:()=>{c=!0,f(),a=Aa(h,r),v.complete()}}),yt(g).subscribe(i))})(s)}}function Aa(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Lr({next:()=>{r.unsubscribe(),e()}});return yt(t(...n)).subscribe(r)}function zd(e,t){return Ft((n,r)=>{let o=null,s=0,i=!1;const a=()=>i&&!o&&r.complete();n.subscribe(Rt(r,u=>{o?.unsubscribe();let l=0;const c=s++;yt(e(u,c)).subscribe(o=Rt(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{i=!0,a()}))})}function k0(e,t){return e===t}function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function os(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function pe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(pe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ta(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const L0=Z({__forward_ref__:Z});function J(e){return e.__forward_ref__=J,e.toString=function(){return pe(this())},e}function A(e){return Na(e)?e():e}function Na(e){return"function"==typeof e&&e.hasOwnProperty(L0)&&e.__forward_ref__===J}function xa(e){return e&&!!e.\u0275providers}const qd="https://g.co/ng/security#xss";class C extends Error{constructor(t,n){super(function ss(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function T(e){return"string"==typeof e?e:null==e?"":String(e)}function Oa(e,t){throw new C(-201,!1)}function tt(e,t){null==e&&function I(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function _t(e){return{providers:e.providers||[],imports:e.imports||[]}}function is(e){return Wd(e,us)||Wd(e,Zd)}function Wd(e,t){return e.hasOwnProperty(t)?e[t]:null}function as(e){return e&&(e.hasOwnProperty(Pa)||e.hasOwnProperty(G0))?e[Pa]:null}const us=Z({\u0275prov:Z}),Pa=Z({\u0275inj:Z}),Zd=Z({ngInjectableDef:Z}),G0=Z({ngInjectorDef:Z});var j=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(j||{});let Fa;function Be(e){const t=Fa;return Fa=e,t}function Qd(e,t,n){const r=is(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&j.Optional?null:void 0!==t?t:void Oa(pe(e))}const Q=globalThis,Vr={},ja="__NG_DI_FLAG__",ls="ngTempTokenPath",W0=/\n/gm,Jd="__source";let jn;function Kt(e){const t=jn;return jn=e,t}function Q0(e,t=j.Default){if(void 0===jn)throw new C(-203,!1);return null===jn?Qd(e,void 0,t):jn.get(e,t&j.Optional?null:void 0,t)}function F(e,t=j.Default){return(function Yd(){return Fa}()||Q0)(A(e),t)}function U(e,t=j.Default){return F(e,cs(t))}function cs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ba(e){const t=[];for(let n=0;n<e.length;n++){const r=A(e[n]);if(Array.isArray(r)){if(0===r.length)throw new C(900,!1);let o,s=j.Default;for(let i=0;i<r.length;i++){const a=r[i],u=X0(a);"number"==typeof u?-1===u?o=a.token:s|=u:o=a}t.push(F(o,s))}else t.push(F(r))}return t}function jr(e,t){return e[ja]=t,e.prototype[ja]=t,e}function X0(e){return e[ja]}function kt(e){return{toString:e}.toString()}var ds=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ds||{}),it=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(it||{});const vt={},G=[],fs=Z({\u0275cmp:Z}),Ha=Z({\u0275dir:Z}),$a=Z({\u0275pipe:Z}),ef=Z({\u0275mod:Z}),Lt=Z({\u0275fac:Z}),Br=Z({__NG_ELEMENT_ID__:Z}),tf=Z({__NG_ENV_ID__:Z});function nf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const s=t.length;if(o+s===r||e.charCodeAt(o+s)<=32)return o}n=o+1}}function Ua(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const s=n[r++],i=n[r++],a=n[r++];e.setAttribute(t,i,a,s)}else{const s=o,i=n[++r];sf(s)?e.setProperty(t,s,i):e.setAttribute(t,s,i),r++}}return r}function rf(e){return 3===e||4===e||6===e}function sf(e){return 64===e.charCodeAt(0)}function Hr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||af(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function af(e,t,n,r,o){let s=0,i=e.length;if(-1===t)i=-1;else for(;s<e.length;){const a=e[s++];if("number"==typeof a){if(a===t){i=-1;break}if(a>t){i=s-1;break}}}for(;s<e.length;){const a=e[s];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[s+1]=o));if(r===e[s+1])return void(e[s+2]=o)}s++,null!==r&&s++,null!==o&&s++}-1!==i&&(e.splice(i,0,t),s=i+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==o&&e.splice(s++,0,o)}const uf="ng-template";function eC(e,t,n){let r=0,o=!0;for(;r<e.length;){let s=e[r++];if("string"==typeof s&&o){const i=e[r++];if(n&&"class"===s&&-1!==nf(i.toLowerCase(),t,0))return!0}else{if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}"number"==typeof s&&(o=!1)}}return!1}function lf(e){return 4===e.type&&e.value!==uf}function tC(e,t,n){return t===(4!==e.type||n?e.value:uf)}function nC(e,t,n){let r=4;const o=e.attrs||[],s=function sC(e){for(let t=0;t<e.length;t++)if(rf(e[t]))return t;return e.length}(o);let i=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!i)if(4&r){if(r=2|1&r,""!==u&&!tC(e,u,n)||""===u&&1===t.length){if(at(r))return!1;i=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!eC(e.attrs,l,n)){if(at(r))return!1;i=!0}continue}const d=rC(8&r?"class":u,o,lf(e),n);if(-1===d){if(at(r))return!1;i=!0;continue}if(""!==l){let f;f=d>s?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==nf(h,l,0)||2&r&&l!==f){if(at(r))return!1;i=!0}}}}else{if(!i&&!at(r)&&!at(u))return!1;if(i&&at(u))continue;i=!1,r=u|1&r}}return at(r)||i}function at(e){return 0==(1&e)}function rC(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let s=!1;for(;o<t.length;){const i=t[o];if(i===e)return o;if(3===i||6===i)s=!0;else{if(1===i||2===i){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===i)break;if(0===i){o+=4;continue}}o+=s?1:2}return-1}return function iC(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function cf(e,t,n=!1){for(let r=0;r<t.length;r++)if(nC(e,t[r],n))return!0;return!1}function df(e,t){return e?":not("+t.trim()+")":t}function uC(e){let t=e[0],n=1,r=2,o="",s=!1;for(;n<e.length;){let i=e[n];if("string"==typeof i)if(2&r){const a=e[++n];o+="["+i+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+i:4&r&&(o+=" "+i);else""!==o&&!at(i)&&(t+=df(s,o),o=""),r=i,s=s||!at(r);n++}return""!==o&&(t+=df(s,o)),t}function ff(e){return kt(()=>{const t=pf(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ds.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||it.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""};gf(n);const r=e.dependencies;return n.directiveDefs=hs(r,!1),n.pipeDefs=hs(r,!0),n.id=function mC(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function fC(e){return H(e)||ve(e)}function hC(e){return null!==e}function Vt(e){return kt(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hf(e,t){if(null==e)return vt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,t&&(t[o]=s)}return n}function x(e){return kt(()=>{const t=pf(e);return gf(t),t})}function H(e){return e[fs]||null}function ve(e){return e[Ha]||null}function xe(e){return e[$a]||null}function pf(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||vt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hf(e.inputs,t),outputs:hf(e.outputs)}}function gf(e){e.features?.forEach(t=>t(e))}function hs(e,t){if(!e)return null;const n=t?xe:fC;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(hC)}const ue=0,E=1,O=2,oe=3,ut=4,Ur=5,be=6,Bn=7,le=8,en=9,Hn=10,N=11,Gr=12,mf=13,$n=14,ce=15,zr=16,Un=17,Dt=18,qr=19,yf=20,tn=21,jt=22,ps=23,gs=24,V=25,Ga=1,_f=2,Ct=7,Gn=9,De=11;function $e(e){return Array.isArray(e)&&"object"==typeof e[Ga]}function Ue(e){return Array.isArray(e)&&!0===e[Ga]}function za(e){return 0!=(4&e.flags)}function Cn(e){return e.componentOffset>-1}function ys(e){return 1==(1&e.flags)}function lt(e){return!!e.template}function qa(e){return 0!=(512&e[O])}function En(e,t){return e.hasOwnProperty(Lt)?e[Lt]:null}let EC=Q.WeakRef??class CC{constructor(t){this.ref=t}deref(){return this.ref}},bC=0,Et=null,_s=!1;function _e(e){const t=Et;return Et=e,t}class wf{constructor(){this.id=bC++,this.ref=function wC(e){return new EC(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(null!=r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=_s;_s=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();null!=o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{_s=t}}producerAccessed(){if(_s)throw new Error("");if(null===Et)return;let t=Et.producers.get(this.id);void 0===t?(t={consumerNode:Et.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Et.trackingVersion},Et.producers.set(this.id,t),this.consumers.set(Et.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=Et.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Et?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let bf=null;const If=()=>{};class AC extends wf{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=If,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=_e(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=If,this.watch(this.registerOnCleanup)}finally{_e(t)}}cleanup(){this.cleanupFn()}}class TC{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Bt(){return Sf}function Sf(e){return e.type.prototype.ngOnChanges&&(e.setInput=xC),NC}function NC(){const e=Tf(this),t=e?.current;if(t){const n=e.previous;if(n===vt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function xC(e,t,n,r){const o=this.declaredInputs[n],s=Tf(e)||function OC(e,t){return e[Af]=t}(e,{previous:vt,current:null}),i=s.current||(s.current={}),a=s.previous,u=a[o];i[o]=new TC(u&&u.currentValue,t,a===vt),e[r]=t}Bt.ngInherit=!0;const Af="__ngSimpleChanges__";function Tf(e){return e[Af]||null}const wt=function(e,t,n){},Nf="svg";function K(e){for(;Array.isArray(e);)e=e[ue];return e}function Cs(e,t){return K(t[e])}function Ge(e,t){return K(t[e.index])}function Of(e,t){return e.data[t]}function Qe(e,t){const n=t[e];return $e(n)?n:n[ue]}function nn(e,t){return null==t?null:e[t]}function Pf(e){e[Un]=0}function jC(e){1024&e[O]||(e[O]|=1024,Rf(e,1))}function Ff(e){1024&e[O]&&(e[O]&=-1025,Rf(e,-1))}function Rf(e,t){let n=e[oe];if(null===n)return;n[Ur]+=t;let r=n;for(n=n[oe];null!==n&&(1===t&&1===r[Ur]||-1===t&&0===r[Ur]);)n[Ur]+=t,r=n,n=n[oe]}const S={lFrame:qf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Vf(){return S.bindingsEnabled}function _(){return S.lFrame.lView}function $(){return S.lFrame.tView}function Wn(e){return S.lFrame.contextLView=e,e[le]}function Zn(e){return S.lFrame.contextLView=null,e}function Ce(){let e=jf();for(;null!==e&&64===e.type;)e=e.parent;return e}function jf(){return S.lFrame.currentTNode}function bt(e,t){const n=S.lFrame;n.currentTNode=e,n.isParent=t}function Ja(){return S.lFrame.isParent}function Yn(){return S.lFrame.bindingIndex++}function $t(e){const t=S.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function XC(e,t){const n=S.lFrame;n.bindingIndex=n.bindingRootIndex=e,eu(t)}function eu(e){S.lFrame.currentDirectiveIndex=e}function nu(e){S.lFrame.currentQueryIndex=e}function KC(e){const t=e[E];return 2===t.type?t.declTNode:1===t.type?e[be]:null}function Gf(e,t,n){if(n&j.SkipSelf){let o=t,s=e;for(;!(o=o.parent,null!==o||n&j.Host||(o=KC(s),null===o||(s=s[$n],10&o.type))););if(null===o)return!1;t=o,e=s}const r=S.lFrame=zf();return r.currentTNode=t,r.lView=e,!0}function ru(e){const t=zf(),n=e[E];S.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function zf(){const e=S.lFrame,t=null===e?null:e.child;return null===t?qf(e):t}function qf(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Wf(){const e=S.lFrame;return S.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Zf=Wf;function ou(){const e=Wf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Pe(){return S.lFrame.selectedIndex}function wn(e){S.lFrame.selectedIndex=e}function ie(){const e=S.lFrame;return Of(e.tView,e.selectedIndex)}let Xf=!0;function Es(){return Xf}function rn(e){Xf=e}function ws(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=s;i&&(e.contentHooks??=[]).push(-n,i),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=c&&(e.destroyHooks??=[]).push(n,c)}}function bs(e,t,n){Jf(e,t,3,n)}function Ms(e,t,n,r){(3&e[O])===n&&Jf(e,t,n,r)}function su(e,t){let n=e[O];(3&n)===t&&(n&=8191,n+=1,e[O]=n)}function Jf(e,t,n,r){const s=r??-1,i=t.length-1;let a=0;for(let u=void 0!==r?65535&e[Un]:0;u<i;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[Un]+=65536),(a<s||-1==s)&&(iE(e,n,t,u),e[Un]=(4294901760&e[Un])+u+2),u++}function Kf(e,t){wt(4,e,t);const n=_e(null);try{t.call(e)}finally{_e(n),wt(5,e,t)}}function iE(e,t,n,r){const o=n[r]<0,s=n[r+1],a=e[o?-n[r]:n[r]];o?e[O]>>13<e[Un]>>16&&(3&e[O])===t&&(e[O]+=8192,Kf(a,s)):Kf(a,s)}const Qn=-1;class Yr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function au(e){return e!==Qn}function Qr(e){return 32767&e}function Xr(e,t){let n=function cE(e){return e>>16}(e),r=t;for(;n>0;)r=r[$n],n--;return r}let uu=!0;function Is(e){const t=uu;return uu=e,t}const eh=255,th=5;let dE=0;const Mt={};function Ss(e,t){const n=nh(e,t);if(-1!==n)return n;const r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,lu(r.data,e),lu(t,null),lu(r.blueprint,null));const o=As(e,t),s=e.injectorIndex;if(au(o)){const i=Qr(o),a=Xr(o,t),u=a[E].data;for(let l=0;l<8;l++)t[s+l]=a[i+l]|u[i+l]}return t[s+8]=o,s}function lu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function As(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=lh(o),null===r)return Qn;if(n++,o=o[$n],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Qn}function cu(e,t,n){!function fE(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Br)&&(r=n[Br]),null==r&&(r=n[Br]=dE++);const o=r&eh;t.data[e+(o>>th)]|=1<<o}(e,t,n)}function rh(e,t,n){if(n&j.Optional||void 0!==e)return e;Oa()}function oh(e,t,n,r){if(n&j.Optional&&void 0===r&&(r=null),!(n&(j.Self|j.Host))){const o=e[en],s=Be(void 0);try{return o?o.get(t,r,n&j.Optional):Qd(t,r,n&j.Optional)}finally{Be(s)}}return rh(r,0,n)}function sh(e,t,n,r=j.Default,o){if(null!==e){if(2048&t[O]&&!(r&j.Self)){const i=function _E(e,t,n,r,o){let s=e,i=t;for(;null!==s&&null!==i&&2048&i[O]&&!(512&i[O]);){const a=ih(s,i,n,r|j.Self,Mt);if(a!==Mt)return a;let u=s.parent;if(!u){const l=i[yf];if(l){const c=l.get(n,Mt,r);if(c!==Mt)return c}u=lh(i),i=i[$n]}s=u}return o}(e,t,n,r,Mt);if(i!==Mt)return i}const s=ih(e,t,n,r,Mt);if(s!==Mt)return s}return oh(t,n,r,o)}function ih(e,t,n,r,o){const s=function gE(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Br)?e[Br]:void 0;return"number"==typeof t?t>=0?t&eh:yE:t}(n);if("function"==typeof s){if(!Gf(t,e,r))return r&j.Host?rh(o,0,r):oh(t,n,r,o);try{let i;if(i=s(r),null!=i||r&j.Optional)return i;Oa()}finally{Zf()}}else if("number"==typeof s){let i=null,a=nh(e,t),u=Qn,l=r&j.Host?t[ce][be]:null;for((-1===a||r&j.SkipSelf)&&(u=-1===a?As(e,t):t[a+8],u!==Qn&&uh(r,!1)?(i=t[E],a=Qr(u),t=Xr(u,t)):a=-1);-1!==a;){const c=t[E];if(ah(s,a,c.data)){const d=pE(a,t,n,i,r,l);if(d!==Mt)return d}u=t[a+8],u!==Qn&&uh(r,t[E].data[a+8]===l)&&ah(s,a,t)?(i=c,a=Qr(u),t=Xr(u,t)):a=-1}}return o}function pE(e,t,n,r,o,s){const i=t[E],a=i.data[e+8],c=function Ts(e,t,n,r,o){const s=e.providerIndexes,i=t.data,a=1048575&s,u=e.directiveStart,c=s>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=i[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=i[u];if(h&&lt(h)&&h.type===n)return u}return null}(a,i,n,null==r?Cn(a)&&uu:r!=i&&0!=(3&a.type),o&j.Host&&s===a);return null!==c?bn(t,i,c,a):Mt}function bn(e,t,n,r){let o=e[n];const s=t.data;if(function aE(e){return e instanceof Yr}(o)){const i=o;i.resolving&&function V0(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function W(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():T(e)}(s[n]));const a=Is(i.canSeeViewProviders);i.resolving=!0;const l=i.injectImpl?Be(i.injectImpl):null;Gf(e,r,j.Default);try{o=e[n]=i.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function sE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(r){const i=Sf(t);(n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i)}o&&(n.preOrderHooks??=[]).push(0-e,o),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,s[n],t)}finally{null!==l&&Be(l),Is(a),i.resolving=!1,Zf()}}return o}function ah(e,t,n){return!!(n[t+(e>>th)]&1<<e)}function uh(e,t){return!(e&j.Self||e&j.Host&&t)}class Fe{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return sh(this._tNode,this._lView,t,cs(r),n)}}function yE(){return new Fe(Ce(),_())}function du(e){return Na(e)?()=>{const t=du(A(e));return t&&t()}:En(e)}function lh(e){const t=e[E],n=t.type;return 2===n?t.declTNode:1===n?e[be]:null}const Jn="__parameters__";function er(e,t,n){return kt(()=>{const r=function hu(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...s){if(this instanceof o)return r.apply(this,s),this;const i=new o(...s);return a.annotation=i,a;function a(u,l,c){const d=u.hasOwnProperty(Jn)?u[Jn]:Object.defineProperty(u,Jn,{value:[]})[Jn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(i),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function nr(e,t){e.forEach(n=>Array.isArray(n)?nr(n,t):t(n))}function dh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ns(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xe(e,t,n){let r=rr(e,t);return r>=0?e[1|r]=n:(r=~r,function ME(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function pu(e,t){const n=rr(e,t);if(n>=0)return e[1|n]}function rr(e,t){return function fh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const s=r+(o-r>>1),i=e[s<<n];if(t===i)return s<<n;i>t?o=s:r=s+1}return~(o<<n)}(e,t,1)}const mu=jr(er("Optional"),8),yu=jr(er("SkipSelf"),4);function ks(e){return 128==(128&e.flags)}var on=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(on||{});const Cu=new Map;let YE=0;const wu="__ngContext__";function Ie(e,t){$e(t)?(e[wu]=t[qr],function XE(e){Cu.set(e[qr],e)}(t)):e[wu]=t}let bu;function Mu(e,t){return bu(e,t)}function ro(e){const t=e[oe];return Ue(t)?t[oe]:t}function Oh(e){return Fh(e[Gr])}function Ph(e){return Fh(e[ut])}function Fh(e){for(;null!==e&&!Ue(e);)e=e[ut];return e}function ir(e,t,n,r,o){if(null!=r){let s,i=!1;Ue(r)?s=r:$e(r)&&(i=!0,r=r[ue]);const a=K(r);0===e&&null!==n?null==o?Vh(t,n,a):Mn(t,n,a,o||null,!0):1===e&&null!==n?Mn(t,n,a,o||null,!0):2===e?function Us(e,t,n){const r=Hs(e,t);r&&function mw(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,i):3===e&&t.destroyNode(a),null!=s&&function vw(e,t,n,r,o){const s=n[Ct];s!==K(n)&&ir(t,e,r,s,o);for(let a=De;a<n.length;a++){const u=n[a];so(u[E],u,e,t,r,s)}}(t,e,s,n,o)}}function js(e,t,n){return e.createElement(t,n)}function kh(e,t){const n=e[Gn],r=n.indexOf(t);Ff(t),n.splice(r,1)}function Bs(e,t){if(e.length<=De)return;const n=De+t,r=e[n];if(r){const o=r[zr];null!==o&&o!==e&&kh(o,r),t>0&&(e[n-1][ut]=r[ut]);const s=Ns(e,De+t);!function uw(e,t){so(e,t,t[N],2,null,null),t[ue]=null,t[be]=null}(r[E],r);const i=s[Dt];null!==i&&i.detachView(s[E]),r[oe]=null,r[ut]=null,r[O]&=-129}return r}function Su(e,t){if(!(256&t[O])){const n=t[N];t[ps]?.destroy(),t[gs]?.destroy(),n.destroyNode&&so(e,t,n,3,null,null),function dw(e){let t=e[Gr];if(!t)return Au(e[E],e);for(;t;){let n=null;if($e(t))n=t[Gr];else{const r=t[De];r&&(n=r)}if(!n){for(;t&&!t[ut]&&t!==e;)$e(t)&&Au(t[E],t),t=t[oe];null===t&&(t=e),$e(t)&&Au(t[E],t),n=t&&t[ut]}t=n}}(t)}}function Au(e,t){if(!(256&t[O])){t[O]&=-129,t[O]|=256,function gw(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Yr)){const s=n[r+1];if(Array.isArray(s))for(let i=0;i<s.length;i+=2){const a=o[s[i]],u=s[i+1];wt(4,a,u);try{u.call(a)}finally{wt(5,a,u)}}else{wt(4,o,s);try{s.call(o)}finally{wt(5,o,s)}}}}}(e,t),function pw(e,t){const n=e.cleanup,r=t[Bn];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const i=n[s+3];i>=0?r[i]():r[-i].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[Bn]=null);const o=t[tn];if(null!==o){t[tn]=null;for(let s=0;s<o.length;s++)(0,o[s])()}}(e,t),1===t[E].type&&t[N].destroy();const n=t[zr];if(null!==n&&Ue(t[oe])){n!==t[oe]&&kh(n,t);const r=t[Dt];null!==r&&r.detachView(e)}!function JE(e){Cu.delete(e[qr])}(t)}}function Tu(e,t,n){return function Lh(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ue];{const{componentOffset:o}=r;if(o>-1){const{encapsulation:s}=e.data[r.directiveStart+o];if(s===it.None||s===it.Emulated)return null}return Ge(r,n)}}(e,t.parent,n)}function Mn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Vh(e,t,n){e.appendChild(t,n)}function jh(e,t,n,r,o){null!==r?Mn(e,t,n,r,o):Vh(e,t,n)}function Hs(e,t){return e.parentNode(t)}let Nu,Fu,$h=function Hh(e,t,n){return 40&e.type?Ge(e,n):null};function $s(e,t,n,r){const o=Tu(e,r,t),s=t[N],a=function Bh(e,t,n){return $h(e,t,n)}(r.parent||t[be],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)jh(s,o,n[u],a,!1);else jh(s,o,n,a,!1);void 0!==Nu&&Nu(s,r,t,n,o)}function oo(e,t){if(null!==t){const n=t.type;if(3&n)return Ge(t,e);if(4&n)return xu(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return oo(e,r);{const o=e[t.index];return Ue(o)?xu(-1,o):K(o)}}if(32&n)return Mu(t,e)()||K(e[t.index]);{const r=Gh(e,t);return null!==r?Array.isArray(r)?r[0]:oo(ro(e[ce]),r):oo(e,t.next)}}return null}function Gh(e,t){return null!==t?e[ce][be].projection[t.projection]:null}function xu(e,t){const n=De+e+1;if(n<t.length){const r=t[n],o=r[E].firstChild;if(null!==o)return oo(r,o)}return t[Ct]}function Ou(e,t,n,r,o,s,i){for(;null!=n;){const a=r[n.index],u=n.type;if(i&&0===t&&(a&&Ie(K(a),r),n.flags|=2),32!=(32&n.flags))if(8&u)Ou(e,t,n.child,r,o,s,!1),ir(t,e,o,a,s);else if(32&u){const l=Mu(n,r);let c;for(;c=l();)ir(t,e,o,c,s);ir(t,e,o,a,s)}else 16&u?qh(e,t,r,n,o,s):ir(t,e,o,a,s);n=i?n.projectionNext:n.next}}function so(e,t,n,r,o,s){Ou(n,r,e.firstChild,t,o,s,!1)}function qh(e,t,n,r,o,s){const i=n[ce],u=i[be].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)ir(t,e,o,u[l],s);else{let l=u;const c=i[oe];ks(r)&&(l.flags|=128),Ou(e,t,l,c,o,s,!0)}}function Wh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Zh(e,t,n){const{mergedAttrs:r,classes:o,styles:s}=n;null!==r&&Ua(e,t,r),null!==o&&Wh(e,t,o),null!==s&&function Cw(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}class Jh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qd})`}}function sn(e){return e instanceof Jh?e.changingThisBreaksApplicationSecurity:e}const Rw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var lr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(lr||{});function Bu(e){const t=function uo(){const e=_();return e&&e[Hn].sanitizer}();return t?t.sanitize(lr.URL,e)||"":function io(e,t){const n=function xw(e){return e instanceof Jh&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${qd})`)}return n===t}(e,"URL")?sn(e):function ku(e){return(e=String(e)).match(Rw)?e:"unsafe:"+e}(T(e))}class M{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=B({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ws=new M("ENVIRONMENT_INITIALIZER"),ip=new M("INJECTOR",-1),ap=new M("INJECTOR_DEF_TYPES");class Hu{get(t,n=Vr){if(n===Vr){const r=new Error(`NullInjectorError: No provider for ${pe(t)}!`);throw r.name="NullInjectorError",r}return n}}function Yw(...e){return{\u0275providers:up(0,e),\u0275fromNgModule:!0}}function up(e,...t){const n=[],r=new Set;let o;const s=i=>{n.push(i)};return nr(t,i=>{const a=i;Zs(a,s,[],r)&&(o||=[],o.push(a))}),void 0!==o&&lp(o,s),n}function lp(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Uu(o,s=>{t(s,r)})}}function Zs(e,t,n,r){if(!(e=A(e)))return!1;let o=null,s=as(e);const i=!s&&H(e);if(s||i){if(i&&!i.standalone)return!1;o=e}else{const u=e.ngModule;if(s=as(u),!s)return!1;o=u}const a=r.has(o);if(i){if(a)return!1;if(r.add(o),i.dependencies){const u="function"==typeof i.dependencies?i.dependencies():i.dependencies;for(const l of u)Zs(l,t,n,r)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let l;r.add(o);try{nr(s.imports,c=>{Zs(c,t,n,r)&&(l||=[],l.push(c))})}finally{}void 0!==l&&lp(l,t)}if(!a){const l=En(o)||(()=>new o);t({provide:o,useFactory:l,deps:G},o),t({provide:ap,useValue:o,multi:!0},o),t({provide:Ws,useValue:()=>F(o),multi:!0},o)}const u=s.providers;if(null!=u&&!a){const l=e;Uu(u,c=>{t(c,l)})}}}return o!==e&&void 0!==e.providers}function Uu(e,t){for(let n of e)xa(n)&&(n=n.\u0275providers),Array.isArray(n)?Uu(n,t):t(n)}const Qw=Z({provide:String,useValue:Z});function Gu(e){return null!==e&&"object"==typeof e&&Qw in e}function In(e){return"function"==typeof e}const zu=new M("Set Injector scope."),Ys={},Jw={};let qu;function Qs(){return void 0===qu&&(qu=new Hu),qu}class It{}class Xs extends It{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zu(t,i=>this.processProvider(i)),this.records.set(ip,cr(void 0,this)),o.has("environment")&&this.records.set(It,cr(void 0,this));const s=this.records.get(zu);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(ap.multi,G,j.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Kt(this),r=Be(void 0);try{return t()}finally{Kt(n),Be(r)}}get(t,n=Vr,r=j.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(tf))return t[tf](this);r=cs(r);const s=Kt(this),i=Be(void 0);try{if(!(r&j.SkipSelf)){let u=this.records.get(t);if(void 0===u){const l=function rb(e){return"function"==typeof e||"object"==typeof e&&e instanceof M}(t)&&is(t);u=l&&this.injectableDefInScope(l)?cr(Wu(t),Ys):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&j.Self?Qs():this.parent).get(t,n=r&j.Optional&&n===Vr?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[ls]=a[ls]||[]).unshift(pe(t)),s)throw a;return function J0(e,t,n,r){const o=e[ls];throw t[Jd]&&o.unshift(t[Jd]),e.message=function K0(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=pe(t);if(Array.isArray(t))o=t.map(pe).join(" -> ");else if("object"==typeof t){let s=[];for(let i in t)if(t.hasOwnProperty(i)){let a=t[i];s.push(i+":"+("string"==typeof a?JSON.stringify(a):pe(a)))}o=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(W0,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ls]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{Be(i),Kt(s)}}resolveInjectorInitializers(){const t=Kt(this),n=Be(void 0);try{const o=this.get(Ws.multi,G,j.Self);for(const s of o)s()}finally{Kt(t),Be(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(pe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=In(t=A(t))?t:A(t&&t.provide);const r=function eb(e){return Gu(e)?cr(void 0,e.useValue):cr(fp(e),Ys)}(t);if(In(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=cr(void 0,Ys,!0),o.factory=()=>Ba(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ys&&(n.value=Jw,n.value=n.factory()),"object"==typeof n.value&&n.value&&function nb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Wu(e){const t=is(e),n=null!==t?t.factory:En(e);if(null!==n)return n;if(e instanceof M)throw new C(204,!1);if(e instanceof Function)return function Kw(e){const t=e.length;if(t>0)throw function eo(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new C(204,!1);const n=function U0(e){return e&&(e[us]||e[Zd])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function fp(e,t,n){let r;if(In(e)){const o=A(e);return En(o)||Wu(o)}if(Gu(e))r=()=>A(e.useValue);else if(function dp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ba(e.deps||[]));else if(function cp(e){return!(!e||!e.useExisting)}(e))r=()=>F(A(e.useExisting));else{const o=A(e&&(e.useClass||e.provide));if(!function tb(e){return!!e.deps}(e))return En(o)||Wu(o);r=()=>new o(...Ba(e.deps))}return r}function cr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Zu(e,t){for(const n of e)Array.isArray(n)?Zu(n,t):n&&xa(n)?Zu(n.\u0275providers,t):t(n)}const Js=new M("AppId",{providedIn:"root",factory:()=>ob}),ob="ng",hp=new M("Platform Initializer"),Sn=new M("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),pp=new M("CSP nonce",{providedIn:"root",factory:()=>function ur(){if(void 0!==Fu)return Fu;if(typeof document<"u")return document;throw new C(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let mp=(e,t,n)=>null;function tl(e,t,n=!1){return mp(e,t,n)}class pb{}class vp{}class mb{resolveComponentFactory(t){throw function gb(e){const t=Error(`No component factory found for ${pe(e)}.`);return t.ngComponent=e,t}(t)}}let oi=(()=>{class t{}return t.NULL=new mb,t})();function yb(){return fr(Ce(),_())}function fr(e,t){return new ct(Ge(e,t))}let ct=(()=>{class t{constructor(r){this.nativeElement=r}}return t.__NG_ELEMENT_ID__=yb,t})();class Cp{}let An=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function vb(){const e=_(),n=Qe(Ce().index,e);return($e(n)?n:e)[N]}(),t})(),Db=(()=>{var e;class t{}return(e=t).\u0275prov=B({token:e,providedIn:"root",factory:()=>null}),t})();class si{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Cb=new si("16.2.1"),ol={};function Mp(e,t=null,n=null,r){const o=Ip(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ip(e,t=null,n=null,r,o=new Set){const s=[n||G,Yw(e)];return r=r||("object"==typeof e?void 0:pe(e)),new Xs(s,t||Qs(),r||null,o)}let dt=(()=>{var e;class t{static create(r,o){if(Array.isArray(r))return Mp({name:""},o,r,"");{const s=r.name??"";return Mp({name:s},r.parent,r.providers,s)}}}return(e=t).THROW_IF_NOT_FOUND=Vr,e.NULL=new Hu,e.\u0275prov=B({token:e,providedIn:"any",factory:()=>F(ip)}),e.__NG_ELEMENT_ID__=-1,t})();function Sp(e){return e.ownerDocument}let al=(()=>{var e;class t{constructor(){this.callbacks=new Set,this.deferredCallbacks=new Set,this.renderDepth=0,this.runningCallbacks=!1}begin(){if(this.runningCallbacks)throw new C(102,!1);this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth)try{this.runningCallbacks=!0;for(const r of this.callbacks)r.invoke()}finally{this.runningCallbacks=!1;for(const r of this.deferredCallbacks)this.callbacks.add(r);this.deferredCallbacks.clear()}}register(r){(this.runningCallbacks?this.deferredCallbacks:this.callbacks).add(r)}unregister(r){this.callbacks.delete(r),this.deferredCallbacks.delete(r)}ngOnDestroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}return(e=t).\u0275prov=B({token:e,providedIn:"root",factory:()=>new e}),t})();function ho(e){for(;e;){e[O]|=64;const t=ro(e);if(qa(e)&&!t)return e;e=t}return null}function ul(e){return e.ngOriginalError}class Tn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&ul(t);for(;n&&ul(n);)n=ul(n);return n||null}}const Op=new M("",{providedIn:"root",factory:()=>!1});class kp extends wf{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){ho(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=_e(this);this.trackingVersion++;try{t(n,r)}finally{_e(o)}}destroy(){this.trackingVersion++}}let ai=null;function Lp(){return ai??=new kp,ai}function Vp(e,t){return e[t]??Lp()}function jp(e,t){const n=Lp();n.hasReadASignal&&(e[t]=ai,n.lView=e,ai=new kp)}const P={};function Se(e){Bp($(),_(),Pe()+e,!1)}function Bp(e,t,n,r){if(!r)if(3==(3&t[O])){const s=e.preOrderCheckHooks;null!==s&&bs(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Ms(t,s,0,n)}wn(n)}function D(e,t=j.Default){const n=_();return null===n?F(e,t):sh(Ce(),n,A(e),t)}function ui(e,t,n,r,o,s,i,a,u,l,c){const d=t.blueprint.slice();return d[ue]=o,d[O]=140|r,(null!==l||e&&2048&e[O])&&(d[O]|=2048),Pf(d),d[oe]=d[$n]=e,d[le]=n,d[Hn]=i||e&&e[Hn],d[N]=a||e&&e[N],d[en]=u||e&&e[en]||null,d[be]=s,d[qr]=function QE(){return YE++}(),d[jt]=c,d[yf]=l,d[ce]=2==t.type?e[ce]:d,d}function gr(e,t,n,r,o){let s=e.data[t];if(null===s)s=function ll(e,t,n,r,o){const s=jf(),i=Ja(),u=e.data[t]=function Gb(e,t,n,r,o,s){let i=t?t.injectorIndex:-1,a=0;return function qn(){return null!==S.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:i,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?s:s&&s.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==s&&(i?null==s.child&&null!==u.parent&&(s.child=u):null===s.next&&(s.next=u,u.prev=s)),u}(e,t,n,r,o),function QC(){return S.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=o;const i=function Zr(){const e=S.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===i?-1:i.injectorIndex}return bt(s,!0),s}function po(e,t,n,r){if(0===n)return-1;const o=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Hp(e,t,n,r,o){const s=Vp(t,ps),i=Pe(),a=2&r;try{if(wn(-1),a&&t.length>V&&Bp(e,t,V,!1),wt(a?2:0,o),a)s.runInContext(n,r,o);else{const l=_e(null);try{n(r,o)}finally{_e(l)}}}finally{a&&null===t[ps]&&jp(t,ps),wn(i),wt(a?3:1,o)}}function cl(e,t,n){if(za(t)){const r=_e(null);try{const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const a=e.data[i];a.contentQueries&&a.contentQueries(1,n[i],i)}}finally{_e(r)}}}function dl(e,t,n){Vf()&&(function Xb(e,t,n,r){const o=n.directiveStart,s=n.directiveEnd;Cn(n)&&function oM(e,t,n){const r=Ge(t,e),o=$p(n);let i=16;n.signals?i=4096:n.onPush&&(i=64);const a=li(e,ui(e,o,null,i,r,t,null,e[Hn].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ss(n,t),Ie(r,t);const i=n.initialInputs;for(let a=o;a<s;a++){const u=e.data[a],l=bn(t,e,a,n);Ie(l,t),null!==i&&sM(0,a-o,l,u,0,i),lt(u)&&(Qe(n.index,t)[le]=bn(t,e,a,n))}}(e,t,n,Ge(n,t)),64==(64&n.flags)&&Wp(e,t,n))}function fl(e,t,n=Ge){const r=t.localNames;if(null!==r){let o=t.index+1;for(let s=0;s<r.length;s+=2){const i=r[s+1],a=-1===i?n(t,e):e[i];e[o++]=a}}}function $p(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=hl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function hl(e,t,n,r,o,s,i,a,u,l,c){const d=V+r,f=d+o,h=function Vb(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:P);return n}(d,f),p="function"==typeof l?l():l;return h[E]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:u,consts:p,incompleteFirstPass:!1,ssrId:c}}let Up=e=>null;function Gp(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const s=e[o];null===r?zp(n,t,o,s):r.hasOwnProperty(o)&&zp(n,t,r[o],s)}return n}function zp(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Je(e,t,n,r,o,s,i,a){const u=Ge(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(_l(e,n,c,r,o),Cn(t)&&function Wb(e,t){const n=Qe(t,e);16&n[O]||(n[O]|=64)}(n,t.index)):3&t.type&&(r=function qb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=i?i(o,t.value||"",r):o,s.setProperty(u,r,o))}function pl(e,t,n,r){if(Vf()){const o=null===r?null:{"":-1},s=function Kb(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let s=0;s<n.length;s++){const i=n[s];if(cf(t,i.selectors,!1))if(r||(r=[]),lt(i))if(null!==i.findHostDirectiveDefs){const a=[];o=o||new Map,i.findHostDirectiveDefs(i,a,o),r.unshift(...a,i),gl(e,t,a.length)}else r.unshift(i),gl(e,t,0);else o=o||new Map,i.findHostDirectiveDefs?.(i,r,o),r.push(i)}return null===r?null:[r,o]}(e,n);let i,a;null===s?i=a=null:[i,a]=s,null!==i&&qp(e,t,n,i,o,a),o&&function eM(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const s=n[t[o+1]];if(null==s)throw new C(-301,!1);r.push(t[o],s)}}}(n,r,o)}n.mergedAttrs=Hr(n.mergedAttrs,n.attrs)}function qp(e,t,n,r,o,s){for(let l=0;l<r.length;l++)cu(Ss(n,t),e,r[l].type);!function nM(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let l=0;l<r.length;l++){const c=r[l];c.providersResolver&&c.providersResolver(c)}let i=!1,a=!1,u=po(e,t,r.length,null);for(let l=0;l<r.length;l++){const c=r[l];n.mergedAttrs=Hr(n.mergedAttrs,c.hostAttrs),rM(e,n,t,u,c),tM(u,c,o),null!==c.contentQueries&&(n.flags|=4),(null!==c.hostBindings||null!==c.hostAttrs||0!==c.hostVars)&&(n.flags|=64);const d=c.type.prototype;!i&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),i=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}!function zb(e,t,n){const o=t.directiveEnd,s=e.data,i=t.attrs,a=[];let u=null,l=null;for(let c=t.directiveStart;c<o;c++){const d=s[c],f=n?n.get(d):null,p=f?f.outputs:null;u=Gp(d.inputs,c,u,f?f.inputs:null),l=Gp(d.outputs,c,l,p);const g=null===u||null===i||lf(t)?null:iM(u,c,i);a.push(g)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=l}(e,n,s)}function Wp(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,i=function JC(){return S.lFrame.currentDirectiveIndex}();try{wn(s);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];eu(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&Jb(u,l)}}finally{wn(-1),eu(i)}}function Jb(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function gl(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function tM(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;lt(t)&&(n[""]=e)}}function rM(e,t,n,r,o){e.data[r]=o;const s=o.factory||(o.factory=En(o.type)),i=new Yr(s,lt(o),D);e.blueprint[r]=i,n[r]=i,function Yb(e,t,n,r,o){const s=o.hostBindings;if(s){let i=e.hostBindingOpCodes;null===i&&(i=e.hostBindingOpCodes=[]);const a=~t.index;(function Qb(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(i)!=a&&i.push(a),i.push(n,r,s)}}(e,t,r,po(e,n,o.hostVars,P),o)}function sM(e,t,n,r,o,s){const i=s[t];if(null!==i)for(let a=0;a<i.length;)Zp(r,n,i[a++],i[a++],i[a++])}function Zp(e,t,n,r,o){const s=_e(null);try{const i=e.inputTransforms;null!==i&&i.hasOwnProperty(r)&&(o=i[r].call(t,o)),null!==e.setInput?e.setInput(t,o,n,r):t[r]=o}finally{_e(s)}}function iM(e,t,n){let r=null,o=0;for(;o<n.length;){const s=n[o];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===r&&(r=[]);const i=e[s];for(let a=0;a<i.length;a+=2)if(i[a]===t){r.push(s,i[a+1],n[o+1]);break}}o+=2}else o+=2;else o+=4}return r}function Yp(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function Qp(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r+1];if(-1!==s){const i=e.data[s];nu(n[r]),i.contentQueries(2,t[s],s)}}}function li(e,t){return e[Gr]?e[mf][ut]=t:e[Gr]=t,e[mf]=t,t}function yl(e,t,n){nu(0);const r=_e(null);try{t(e,n)}finally{_e(r)}}function eg(e,t){const n=e[en],r=n?n.get(Tn,null):null;r&&r.handleError(t)}function _l(e,t,n,r,o){for(let s=0;s<n.length;){const i=n[s++],a=n[s++];Zp(e.data[i],t[i],r,a,o)}}function zt(e,t,n){const r=Cs(t,e);!function Rh(e,t,n){e.setValue(t,n)}(e[N],r,n)}function aM(e,t){const n=Qe(t,e),r=n[E];!function uM(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[ue];null!==o&&null===n[jt]&&(n[jt]=tl(o,n[en])),vl(r,n,n[le])}function vl(e,t,n){ru(t);try{const r=e.viewQuery;null!==r&&yl(1,r,n);const o=e.template;null!==o&&Hp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Qp(e,t),e.staticViewQueries&&yl(2,e.viewQuery,n);const s=e.components;null!==s&&function lM(e,t){for(let n=0;n<t.length;n++)aM(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[O]&=-5,ou()}}let tg=(()=>{var e;class t{constructor(){this.all=new Set,this.queue=new Map}create(r,o,s){const i=typeof Zone>"u"?null:Zone.current,a=new AC(r,c=>{this.all.has(c)&&this.queue.set(c,i)},s);let u;this.all.add(a),a.notify();const l=()=>{a.cleanup(),u?.(),this.all.delete(a),this.queue.delete(a)};return u=o?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[r,o]of this.queue)this.queue.delete(r),o?o.run(()=>r.run()):r.run()}get isQueueEmpty(){return 0===this.queue.size}}return(e=t).\u0275prov=B({token:e,providedIn:"root",factory:()=>new e}),t})();function ci(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,s=0;if(null!==t)for(let i=0;i<t.length;i++){const a=t[i];"number"==typeof a?s=a:1==s?o=Ta(o,a):2==s&&(r=Ta(r,a+": "+t[++i]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function go(e,t,n,r,o=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(K(s)),Ue(s)){for(let a=De;a<s.length;a++){const u=s[a],l=u[E].firstChild;null!==l&&go(u[E],u,l,r)}s[Ct]!==s[ue]&&r.push(s[Ct])}const i=n.type;if(8&i)go(e,t,n.child,r);else if(32&i){const a=Mu(n,t);let u;for(;u=a();)r.push(u)}else if(16&i){const a=Gh(t,n);if(Array.isArray(a))r.push(...a);else{const u=ro(t[ce]);go(u[E],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function di(e,t,n,r=!0){const o=t[Hn],s=o.rendererFactory,i=o.afterRenderEventManager;s.begin?.(),i?.begin();try{ng(e,t,e.template,n)}catch(u){throw r&&eg(t,u),u}finally{s.end?.(),o.effectManager?.flush(),i?.end()}}function ng(e,t,n,r){const o=t[O];if(256!=(256&o)){t[Hn].effectManager?.flush(),ru(t);try{Pf(t),function Hf(e){return S.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Hp(e,t,n,2,r);const i=3==(3&o);if(i){const l=e.preOrderCheckHooks;null!==l&&bs(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Ms(t,l,0,null),su(t,0)}if(function fM(e){for(let t=Oh(e);null!==t;t=Ph(t)){if(!t[_f])continue;const n=t[Gn];for(let r=0;r<n.length;r++){jC(n[r])}}}(t),rg(t,2),null!==e.contentQueries&&Qp(e,t),i){const l=e.contentCheckHooks;null!==l&&bs(t,l)}else{const l=e.contentHooks;null!==l&&Ms(t,l,1),su(t,1)}!function Lb(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=Vp(t,gs);try{for(let o=0;o<n.length;o++){const s=n[o];if(s<0)wn(~s);else{const i=s,a=n[++o],u=n[++o];XC(a,i),r.runInContext(u,2,t[i])}}}finally{null===t[gs]&&jp(t,gs),wn(-1)}}(e,t);const a=e.components;null!==a&&sg(t,a,0);const u=e.viewQuery;if(null!==u&&yl(2,u,r),i){const l=e.viewCheckHooks;null!==l&&bs(t,l)}else{const l=e.viewHooks;null!==l&&Ms(t,l,2),su(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[O]&=-73,Ff(t)}finally{ou()}}}function rg(e,t){for(let n=Oh(e);null!==n;n=Ph(n))for(let r=De;r<n.length;r++)og(n[r],t)}function hM(e,t,n){og(Qe(t,e),n)}function og(e,t){if(!function LC(e){return 128==(128&e[O])}(e))return;const n=e[E];if(80&e[O]&&0===t||1024&e[O]||2===t)ng(n,e,n.template,e[le]);else if(e[Ur]>0){rg(e,1);const o=e[E].components;null!==o&&sg(e,o,1)}}function sg(e,t,n){for(let r=0;r<t.length;r++)hM(e,t[r],n)}class mo{get rootNodes(){const t=this._lView,n=t[E];return go(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[le]}set context(t){this._lView[le]=t}get destroyed(){return 256==(256&this._lView[O])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[oe];if(Ue(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Bs(t,r),Ns(n,r))}this._attachedToViewContainer=!1}Su(this._lView[E],this._lView)}onDestroy(t){!function kf(e,t){if(256==(256&e[O]))throw new C(911,!1);null===e[tn]&&(e[tn]=[]),e[tn].push(t)}(this._lView,t)}markForCheck(){ho(this._cdRefInjectingView||this._lView)}detach(){this._lView[O]&=-129}reattach(){this._lView[O]|=128}detectChanges(){di(this._lView[E],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function cw(e,t){so(e,t,t[N],2,null,null)}(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class pM extends mo{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;di(t[E],t,t[le],!1)}checkNoChanges(){}get context(){return null}}class ig extends oi{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=H(t);return new yo(n,this.ngModule)}}function ag(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class mM{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=cs(r);const o=this.injector.get(t,ol,r);return o!==ol||n===ol?o:this.parentInjector.get(t,n,r)}}class yo extends vp{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=ag(t.inputs);if(null!==n)for(const o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return ag(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function lC(e){return e.map(uC).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let s=(o=o||this.ngModule)instanceof It?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const i=s?new mM(t,s):t,a=i.get(Cp,null);if(null===a)throw new C(407,!1);const d={rendererFactory:a,sanitizer:i.get(Db,null),effectManager:i.get(tg,null),afterRenderEventManager:i.get(al,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=r?function jb(e,t,n,r){const s=r.get(Op,!1)||n===it.ShadowDom,i=e.selectRootElement(t,s);return function Bb(e){Up(e)}(i),i}(f,r,this.componentDef.encapsulation,i):js(f,h,function gM(e){const t=e.toLowerCase();return"svg"===t?Nf:"math"===t?"math":null}(h)),v=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let m=null;null!==p&&(m=tl(p,i,!0));const b=hl(0,null,null,1,0,null,null,null,null,null,null),w=ui(null,b,null,v,null,null,d,f,i,null,m);let k,Ee;ru(w);try{const et=this.componentDef;let Vn,ga=null;et.findHostDirectiveDefs?(Vn=[],ga=new Map,et.findHostDirectiveDefs(et,Vn,ga),Vn.push(et)):Vn=[et];const W4=function _M(e,t){const n=e[E],r=V;return e[r]=t,gr(n,r,2,"#host",null)}(w,p),Z4=function vM(e,t,n,r,o,s,i){const a=o[E];!function DM(e,t,n,r){for(const o of e)t.mergedAttrs=Hr(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(ci(t,t.mergedAttrs,!0),null!==n&&Zh(r,n,t))}(r,e,t,i);let u=null;null!==t&&(u=tl(t,o[en]));const l=s.rendererFactory.createRenderer(t,n);let c=16;n.signals?c=4096:n.onPush&&(c=64);const d=ui(o,$p(n),null,c,o[e.index],e,s,l,null,null,u);return a.firstCreatePass&&gl(a,e,r.length-1),li(o,d),o[e.index]=d}(W4,p,et,Vn,w,d,f);Ee=Of(b,V),p&&function EM(e,t,n,r){if(r)Ua(e,n,["ng-version",Cb.full]);else{const{attrs:o,classes:s}=function cC(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===o?""!==s&&t.push(s,e[++r]):8===o&&n.push(s);else{if(!at(o))break;o=s}r++}return{attrs:t,classes:n}}(t.selectors[0]);o&&Ua(e,n,o),s&&s.length>0&&Wh(e,n,s.join(" "))}}(f,et,p,r),void 0!==n&&function wM(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const s=n[o];r.push(null!=s?Array.from(s):null)}}(Ee,this.ngContentSelectors,n),k=function CM(e,t,n,r,o,s){const i=Ce(),a=o[E],u=Ge(i,o);qp(a,o,i,n,null,r);for(let c=0;c<n.length;c++)Ie(bn(o,a,i.directiveStart+c,i),o);Wp(a,o,i),u&&Ie(u,o);const l=bn(o,a,i.directiveStart+i.componentOffset,i);if(e[le]=o[le]=l,null!==s)for(const c of s)c(l,t);return cl(a,i,e),l}(Z4,et,Vn,ga,w,[bM]),vl(b,w,null)}finally{ou()}return new yM(this.componentType,k,fr(Ee,w),w,Ee)}}class yM extends pb{constructor(t,n,r,o,s){super(),this.location=r,this._rootLView=o,this._tNode=s,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new pM(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const s=this._rootLView;_l(s[E],s,o,t,n),this.previousInputValues.set(t,n),ho(Qe(this._tNode.index,s))}}get injector(){return new Fe(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function bM(){const e=Ce();ws(_()[E],e)}function Y(e){let t=function ug(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(lt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const i=e;i.inputs=fi(e.inputs),i.inputTransforms=fi(e.inputTransforms),i.declaredInputs=fi(e.declaredInputs),i.outputs=fi(e.outputs);const a=o.hostBindings;a&&AM(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&IM(e,u),l&&SM(e,l),os(e.inputs,o.inputs),os(e.declaredInputs,o.declaredInputs),os(e.outputs,o.outputs),null!==o.inputTransforms&&(null===i.inputTransforms&&(i.inputTransforms={}),os(i.inputTransforms,o.inputTransforms)),lt(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const s=o.features;if(s)for(let i=0;i<s.length;i++){const a=s[i];a&&a.ngInherit&&a(e),a===Y&&(n=!1)}}t=Object.getPrototypeOf(t)}!function MM(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Hr(o.hostAttrs,n=Hr(n,o.hostAttrs))}}(r)}function fi(e){return e===vt?{}:e===G?[]:e}function IM(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function SM(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,s)=>{t(r,o,s),n(r,o,s)}:t}function AM(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function hi(e){return!!Dl(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Dl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ae(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function yr(e,t,n,r){return Ae(e,Yn(),n)?t+T(n)+r:P}function _r(e,t,n,r,o,s){const a=function Nn(e,t,n,r){const o=Ae(e,t,n);return Ae(e,t+1,r)||o}(e,function Ht(){return S.lFrame.bindingIndex}(),n,o);return $t(2),a?t+T(n)+r+T(o)+s:P}function Il(e,t,n,r,o,s,i,a){const u=_(),l=$(),c=e+V,d=l.firstCreatePass?function eI(e,t,n,r,o,s,i,a,u){const l=t.consts,c=gr(t,e,4,i||null,nn(l,a));pl(t,n,c,nn(l,u)),ws(t,c);const d=c.tView=hl(2,c,r,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,s,i):l.data[c];bt(d,!1);const f=bg(l,u,d,e);Es()&&$s(l,u,f,d),Ie(f,u),li(u,u[c]=Yp(f,u,f,d)),ys(d)&&dl(l,u,d),null!=i&&fl(u,d,a)}let bg=function Mg(e,t,n,r){return rn(!0),t[N].createComment("")};function Mr(e){return function zn(e,t){return e[t]}(function YC(){return S.lFrame.contextLView}(),V+e)}function an(e,t,n){const r=_();return Ae(r,Yn(),t)&&Je($(),ie(),r,e,t,r[N],n,!1),an}function Sl(e,t,n,r,o){const i=o?"class":"style";_l(e,n,t.inputs[i],i,r)}function R(e,t,n,r){const o=_(),s=$(),i=V+e,a=o[N],u=s.firstCreatePass?function oI(e,t,n,r,o,s){const i=t.consts,u=gr(t,e,2,r,nn(i,o));return pl(t,n,u,nn(i,s)),null!==u.attrs&&ci(u,u.attrs,!1),null!==u.mergedAttrs&&ci(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(i,s,o,t,n,r):s.data[i],l=Ig(s,o,u,a,t,e);o[i]=l;const c=ys(u);return bt(u,!0),Zh(a,l,u),32!=(32&u.flags)&&Es()&&$s(s,o,l,u),0===function HC(){return S.lFrame.elementDepthCount}()&&Ie(l,o),function $C(){S.lFrame.elementDepthCount++}(),c&&(dl(s,o,u),cl(s,u,o)),null!==r&&fl(o,u),R}function L(){let e=Ce();Ja()?function Ka(){S.lFrame.isParent=!1}():(e=e.parent,bt(e,!1));const t=e;(function GC(e){return S.skipHydrationRootTNode===e})(t)&&function ZC(){S.skipHydrationRootTNode=null}(),function UC(){S.lFrame.elementDepthCount--}();const n=$();return n.firstCreatePass&&(ws(n,e),za(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function uE(e){return 0!=(8&e.flags)}(t)&&Sl(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function lE(e){return 0!=(16&e.flags)}(t)&&Sl(n,t,_(),t.stylesWithoutHost,!1),L}function Re(e,t,n,r){return R(e,t,n,r),L(),Re}let Ig=(e,t,n,r,o,s)=>(rn(!0),js(r,o,function Qf(){return S.lFrame.currentNamespace}()));function Nl(){return _()}function _i(e){return!!e&&"function"==typeof e.then}function Tg(e){return!!e&&"function"==typeof e.subscribe}function me(e,t,n,r){const o=_(),s=$(),i=Ce();return function xg(e,t,n,r,o,s,i){const a=ys(r),l=e.firstCreatePass&&function Jp(e){return e.cleanup||(e.cleanup=[])}(e),c=t[le],d=function Xp(e){return e[Bn]||(e[Bn]=[])}(t);let f=!0;if(3&r.type||i){const g=Ge(r,t),y=i?i(g):g,v=d.length,m=i?w=>i(K(w[r.index])):r.index;let b=null;if(!i&&a&&(b=function cI(e,t,n,r){const o=e.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const i=o[s];if(i===n&&o[s+1]===r){const a=t[Bn],u=o[s+2];return a.length>u?a[u]:null}"string"==typeof i&&(s+=2)}return null}(e,t,o,r.index)),null!==b)(b.__ngLastListenerFn__||b).__ngNextListenerFn__=s,b.__ngLastListenerFn__=s,f=!1;else{s=Pg(r,t,c,s,!1);const w=n.listen(y,o,s);d.push(s,w),l&&l.push(o,m,v,v+1)}}else s=Pg(r,t,c,s,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const g=p.length;if(g)for(let y=0;y<g;y+=2){const k=t[p[y]][p[y+1]].subscribe(s),Ee=d.length;d.push(s,k),l&&l.push(o,r.index,Ee,-(Ee+1))}}}(s,o,o[N],i,e,t,r),me}function Og(e,t,n,r){try{return wt(6,t,n),!1!==n(r)}catch(o){return eg(e,o),!1}finally{wt(7,t,n)}}function Pg(e,t,n,r,o){return function s(i){if(i===Function)return r;ho(e.componentOffset>-1?Qe(e.index,t):t);let u=Og(t,n,r,i),l=s.__ngNextListenerFn__;for(;l;)u=Og(t,n,l,i)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&i.preventDefault(),u}}function vi(e=1){return function eE(e){return(S.lFrame.contextLView=function tE(e,t){for(;e>0;)t=t[$n],e--;return t}(e,S.lFrame.contextLView))[le]}(e)}function Di(e,t,n){return xl(e,"",t,"",n),Di}function xl(e,t,n,r,o){const s=_(),i=yr(s,t,n,r);return i!==P&&Je($(),ie(),s,e,i,s[N],o,!1),xl}function Ci(e,t){return e<<17|t<<2}function un(e){return e>>17&32767}function Ol(e){return 2|e}function xn(e){return(131068&e)>>2}function Pl(e,t){return-131069&e|t<<2}function Fl(e){return 1|e}function $g(e,t,n,r,o){const s=e[n+1],i=null===t;let a=r?un(s):xn(s),u=!1;for(;0!==a&&(!1===u||i);){const c=e[a+1];vI(e[a],t)&&(u=!0,e[a+1]=r?Fl(c):Ol(c)),a=r?un(c):xn(c)}u&&(e[n+1]=r?Ol(s):Fl(s))}function vI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&rr(e,t)>=0}const ye={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ug(e){return e.substring(ye.key,ye.keyEnd)}function Gg(e,t){const n=ye.textEnd;return n===t?-1:(t=ye.keyEnd=function wI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ye.key=t,n),Ir(e,t,n))}function Ir(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ei(e,t){return function ft(e,t,n,r){const o=_(),s=$(),i=$t(2);s.firstUpdatePass&&Xg(s,e,i,r),t!==P&&Ae(o,i,t)&&Kg(s,s.data[Pe()],o,o[N],e,o[i+1]=function FI(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=pe(sn(e)))),e}(t,n),r,i)}(e,t,null,!0),Ei}function Eo(e){!function ht(e,t,n,r){const o=$(),s=$t(2);o.firstUpdatePass&&Xg(o,null,s,r);const i=_();if(n!==P&&Ae(i,s,n)){const a=o.data[Pe()];if(tm(a,r)&&!Qg(o,s)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;null!==u&&(n=Ta(u,n||"")),Sl(o,a,i,n,r)}else!function PI(e,t,n,r,o,s,i,a){o===P&&(o=G);let u=0,l=0,c=0<o.length?o[0]:null,d=0<s.length?s[0]:null;for(;null!==c||null!==d;){const f=u<o.length?o[u+1]:void 0,h=l<s.length?s[l+1]:void 0;let g,p=null;c===d?(u+=2,l+=2,f!==h&&(p=d,g=h)):null===d||null!==c&&c<d?(u+=2,p=c):(l+=2,p=d,g=h),null!==p&&Kg(e,t,n,r,p,g,i,a),c=u<o.length?o[u]:null,d=l<s.length?s[l]:null}}(o,a,i,i[N],i[s+1],i[s+1]=function xI(e,t,n){if(null==n||""===n)return G;const r=[],o=sn(n);if(Array.isArray(o))for(let s=0;s<o.length;s++)e(r,o[s],!0);else if("object"==typeof o)for(const s in o)o.hasOwnProperty(s)&&e(r,s,o[s]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,s)}}(OI,Nt,e,!0)}function Nt(e,t){for(let n=function CI(e){return function qg(e){ye.key=0,ye.keyEnd=0,ye.value=0,ye.valueEnd=0,ye.textEnd=e.length}(e),Gg(e,Ir(e,0,ye.textEnd))}(t);n>=0;n=Gg(t,n))Xe(e,Ug(t),!0)}function Qg(e,t){return t>=e.expandoStartIndex}function Xg(e,t,n,r){const o=e.data;if(null===o[n+1]){const s=o[Pe()],i=Qg(e,n);tm(s,r)&&null===t&&!i&&(t=!1),t=function SI(e,t,n,r){const o=function tu(e){const t=S.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=wo(n=Rl(null,e,t,n,r),t.attrs,r),s=null);else{const i=t.directiveStylingLast;if(-1===i||e[i]!==o)if(n=Rl(o,e,t,n,r),null===s){let u=function AI(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==xn(r))return e[un(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Rl(null,e,t,u[1],r),u=wo(u,t.attrs,r),function TI(e,t,n,r){e[un(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else s=function NI(e,t,n){let r;const o=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<o;s++)r=wo(r,e[s].hostAttrs,n);return wo(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(o,s,t,r),function yI(e,t,n,r,o,s){let i=s?t.classBindings:t.styleBindings,a=un(i),u=xn(i);e[r]=n;let c,l=!1;if(Array.isArray(n)?(c=n[1],(null===c||rr(n,c)>0)&&(l=!0)):c=n,o)if(0!==u){const f=un(e[a+1]);e[r+1]=Ci(f,a),0!==f&&(e[f+1]=Pl(e[f+1],r)),e[a+1]=function gI(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ci(a,0),0!==a&&(e[a+1]=Pl(e[a+1],r)),a=r;else e[r+1]=Ci(u,0),0===a?a=r:e[u+1]=Pl(e[u+1],r),u=r;l&&(e[r+1]=Ol(e[r+1])),$g(e,c,r,!0),$g(e,c,r,!1),function _I(e,t,n,r,o){const s=o?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&rr(s,t)>=0&&(n[r+1]=Fl(n[r+1]))}(t,c,e,r,s),i=Ci(a,u),s?t.classBindings=i:t.styleBindings=i}(o,s,t,n,i,r)}}function Rl(e,t,n,r,o){let s=null;const i=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<i&&(s=t[a],r=wo(r,s.hostAttrs,o),s!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function wo(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let s=0;s<t.length;s++){const i=t[s];"number"==typeof i?o=i:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Xe(e,i,!!n||t[++s]))}return void 0===e?null:e}function OI(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Xe(e,r,n)}function Kg(e,t,n,r,o,s,i,a){if(!(3&t.type))return;const u=e.data,l=u[a+1],c=function mI(e){return 1==(1&e)}(l)?em(u,t,n,o,xn(l),i):void 0;wi(c)||(wi(s)||function pI(e){return 2==(2&e)}(l)&&(s=em(u,null,n,o,a,i)),function Dw(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:on.DashCase;null==o?e.removeStyle(n,r,s):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),s|=on.Important),e.setStyle(n,r,o,s))}}(r,i,Cs(Pe(),n),o,s))}function em(e,t,n,r,o,s){const i=null===t;let a;for(;o>0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===P&&(f=d?G:void 0);let h=d?pu(f,r):c===r?f:void 0;if(l&&!wi(h)&&(h=pu(u,r)),wi(h)&&(a=h,i))return a;const p=e[o+1];o=i?un(p):xn(p)}if(null!==t){let u=s?t.residualClasses:t.residualStyles;null!=u&&(a=pu(u,r))}return a}function wi(e){return void 0!==e}function tm(e,t){return 0!=(e.flags&(t?8:16))}function ee(e,t=""){const n=_(),r=$(),o=e+V,s=r.firstCreatePass?gr(r,o,1,t,null):r.data[o],i=nm(r,n,s,t,e);n[o]=i,Es()&&$s(r,n,i,s),bt(s,!1)}let nm=(e,t,n,r,o)=>(rn(!0),function Vs(e,t){return e.createText(t)}(t[N],r));function bo(e){return bi("",e,""),bo}function bi(e,t,n){const r=_(),o=yr(r,e,t,n);return o!==P&&zt(r,Pe(),o),bi}function kl(e,t,n,r,o){const s=_(),i=_r(s,e,t,n,r,o);return i!==P&&zt(s,Pe(),i),kl}const Ar="en-US";let wm=Ar;function jl(e,t,n,r,o){if(e=A(e),Array.isArray(e))for(let s=0;s<e.length;s++)jl(e[s],t,n,r,o);else{const s=$(),i=_(),a=Ce();let u=In(e)?e:A(e.provide);const l=fp(e),c=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(In(e)||!e.multi){const h=new Yr(l,o,D),p=Hl(u,t,o?c:c+f,d);-1===p?(cu(Ss(a,i),s,u),Bl(s,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),i.push(h)):(n[p]=h,i[p]=h)}else{const h=Hl(u,t,c+f,d),p=Hl(u,t,c,c+f),y=p>=0&&n[p];if(o&&!y||!o&&!(h>=0&&n[h])){cu(Ss(a,i),s,u);const v=function tA(e,t,n,r,o){const s=new Yr(e,n,D);return s.multi=[],s.index=t,s.componentProviders=0,Zm(s,o,r&&!n),s}(o?eA:KS,n.length,o,r,l);!o&&y&&(n[p].providerFactory=v),Bl(s,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),i.push(v)}else Bl(s,e,h>-1?h:p,Zm(n[o?p:h],l,!o&&r));!o&&r&&y&&n[p].componentProviders++}}}function Bl(e,t,n,r){const o=In(t),s=function Xw(e){return!!e.useClass}(t);if(o||s){const u=(s?A(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function Zm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Hl(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function KS(e,t,n,r){return $l(this.multi,[])}function eA(e,t,n,r){const o=this.multi;let s;if(this.providerFactory){const i=this.providerFactory.componentProviders,a=bn(n,n[E],this.providerFactory.index,r);s=a.slice(0,i),$l(o,s);for(let u=i;u<a.length;u++)s.push(a[u])}else s=[],$l(o,s);return s}function $l(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function se(e,t=[]){return n=>{n.providersResolver=(r,o)=>function JS(e,t,n){const r=$();if(r.firstCreatePass){const o=lt(e);jl(n,r.data,r.blueprint,o,!0),jl(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class Pn{}class nA{}class Ul extends Pn{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ig(this);const o=function Ye(e,t){const n=e[ef]||null;if(!n&&!0===t)throw new Error(`Type ${pe(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Gt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Ip(t,n,[{provide:Pn,useValue:this},{provide:oi,useValue:this.componentFactoryResolver},...r],pe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Gl extends nA{constructor(t){super(),this.moduleType=t}create(t){return new Ul(this.moduleType,t,[])}}function No(e,t,n,r){return function ny(e,t,n,r,o,s){const i=t+n;return Ae(e,i,o)?function At(e,t,n){return e[t]=n}(e,i+1,s?r.call(s,o):r(o)):function xo(e,t){const n=e[t];return n===P?void 0:n}(e,i+1)}(_(),function Oe(){const e=S.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function ql(e){return t=>{setTimeout(e,void 0,t)}}const Te=class OA extends ts{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,s=n||(()=>null),i=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),s=u.error?.bind(u),i=u.complete?.bind(u)}this.__isAsync&&(s=ql(s),o&&(o=ql(o)),i&&(i=ql(i)));const a=super.subscribe({next:o,error:s,complete:i});return t instanceof mt&&t.add(a),a}};function RA(e,t,n,r=!0){const o=t[E];if(function fw(e,t,n,r){const o=De+r,s=n.length;r>0&&(n[o-1][ut]=t),r<s-De?(t[ut]=n[o],dh(n,De+r,t)):(n.push(t),t[ut]=null),t[oe]=n;const i=t[zr];null!==i&&n!==i&&function hw(e,t){const n=e[Gn];t[ce]!==t[oe][oe][ce]&&(e[_f]=!0),null===n?e[Gn]=[t]:n.push(t)}(i,t);const a=t[Dt];null!==a&&a.insertView(e),t[O]|=128}(o,t,e,n),r){const s=xu(n,e),i=t[N],a=Hs(i,e[Ct]);null!==a&&function lw(e,t,n,r,o,s){r[ue]=o,r[be]=t,so(e,r,n,1,o,s)}(o,e[be],i,t,a,s)}}let Wt=(()=>{class t{}return t.__NG_ELEMENT_ID__=VA,t})();const kA=Wt,LA=class extends kA{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function FA(e,t,n,r){const o=t.tView,a=ui(e,o,n,4096&e[O]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[zr]=e[t.index];const l=e[Dt];return null!==l&&(a[Dt]=l.createEmbeddedView(o)),vl(o,a,n),a}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new mo(o)}};function VA(){return function Ti(e,t){return 4&e.type?new LA(t,e,fr(e,t)):null}(Ce(),_())}let xt=(()=>{class t{}return t.__NG_ELEMENT_ID__=GA,t})();function GA(){return function hy(e,t){let n;const r=t[e.index];return Ue(r)?n=r:(n=Yp(r,t,null,e),t[e.index]=n,li(t,n)),py(n,t,e,r),new dy(n,e,t)}(Ce(),_())}const zA=xt,dy=class extends zA{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return fr(this._hostTNode,this._hostLView)}get injector(){return new Fe(this._hostTNode,this._hostLView)}get parentInjector(){const t=As(this._hostTNode,this._hostLView);if(au(t)){const n=Xr(t,this._hostLView),r=Qr(t);return new Fe(n[E].data[r+8],n)}return new Fe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=fy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-De}createEmbeddedView(t,n,r){let o,s;"number"==typeof r?o=r:null!=r&&(o=r.index,s=r.injector);const a=t.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,s){const i=t&&!function Kr(e){return"function"==typeof e}(t);let a;if(i)a=n;else{const g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,s=g.environmentInjector||g.ngModuleRef}const u=i?t:new yo(H(t)),l=r||this.parentInjector;if(!s&&null==u.ngModule){const y=(i?l:this.parentInjector).get(It,null);y&&(s=y)}H(u.componentType??{});const h=u.create(l,o,null,s);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView;if(function VC(e){return Ue(e[oe])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const l=o[oe],c=new dy(l,l[be],l[oe]);c.detach(c.indexOf(t))}}const i=this._adjustIndex(n),a=this._lContainer;return RA(a,o,i,!r),t.attachToViewContainerRef(),dh(Zl(a),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=fy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Bs(this._lContainer,n);r&&(Ns(Zl(this._lContainer),n),Su(r[E],r))}detach(t){const n=this._adjustIndex(t,-1),r=Bs(this._lContainer,n);return r&&null!=Ns(Zl(this._lContainer),n)?new mo(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function fy(e){return e[8]}function Zl(e){return e[8]||(e[8]=[])}let py=function gy(e,t,n,r){if(e[Ct])return;let o;o=8&n.type?K(r):function qA(e,t){const n=e[N],r=n.createComment(""),o=Ge(t,e);return Mn(n,Hs(n,o),r,function yw(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Ct]=o};const IT=new M("Application Initializer");let oc=(()=>{var e;class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=U(IT,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const r=[];for(const s of this.appInits){const i=s();if(_i(i))r.push(i);else if(Tg(i)){const a=new Promise((u,l)=>{i.subscribe({complete:u,error:l})});r.push(a)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(s=>{this.reject(s)}),0===r.length&&o(),this.initialized=!0}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();const Zt=new M("LocaleId",{providedIn:"root",factory:()=>U(Zt,j.Optional|j.SkipSelf)||function AT(){return typeof $localize<"u"&&$localize.locale||Ar}()});let sc=(()=>{var e;class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new GD(!1)}add(){this.hasPendingTasks.next(!0);const r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Hy(...e){}class fe{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Te(!1),this.onMicrotaskEmpty=new Te(!1),this.onStable=new Te(!1),this.onError=new Te(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function XT(){const e="function"==typeof Q.requestAnimationFrame;let t=Q[e?"requestAnimationFrame":"setTimeout"],n=Q[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function e1(e){const t=()=>{!function KT(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Q,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,lc(e),e.isCheckStableRunning=!0,uc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),lc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,s,i,a)=>{try{return $y(e),n.invokeTask(o,s,i,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Uy(e)}},onInvoke:(n,r,o,s,i,a,u)=>{try{return $y(e),n.invoke(o,s,i,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Uy(e)}},onHasTask:(n,r,o,s)=>{n.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,lc(e),uc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,o,s)=>(n.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fe.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(fe.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+o,t,JT,Hy,Hy);try{return s.runTask(i,n,r)}finally{s.cancelTask(i)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const JT={};function uc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function lc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function $y(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Uy(e){e._nesting--,uc(e)}class t1{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Te,this.onMicrotaskEmpty=new Te,this.onStable=new Te,this.onError=new Te}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Gy=new M("",{providedIn:"root",factory:zy});function zy(){const e=U(fe);let t=!0;return function F0(...e){const t=Bd(e),n=function S0(e,t){return"number"==typeof Ia(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?yt(r[0]):function w0(e=1/0){return ns(Ca,e)}(n)(rs(r,t)):jd}(new we(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new we(o=>{let s;e.runOutsideAngular(()=>{s=e.onStable.subscribe(()=>{fe.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const i=e.onUnstable.subscribe(()=>{fe.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{s.unsubscribe(),i.unsubscribe()}}).pipe(Gd()))}const qy=new M(""),Pi=new M("");let fc,cc=(()=>{var e;class t{constructor(r,o,s){this._ngZone=r,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,fc||(function n1(e){fc=e}(s),s.addToWindow(o)),this._watchAngularEvents(),r.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{fe.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb(this._didWork)}this._didWork=!1});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(r)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,o,s){let i=-1;o&&o>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==i),r(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:r,timeoutId:i,updateCb:s})}whenStable(r,o,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,o,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,o,s){return[]}}return(e=t).\u0275fac=function(r){return new(r||e)(F(fe),F(dc),F(Pi))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})(),dc=(()=>{var e;class t{constructor(){this._applications=new Map}registerApplication(r,o){this._applications.set(r,o)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,o=!0){return fc?.findTestabilityInTree(this,r,o)??null}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})(),ln=null;const Wy=new M("AllowMultipleToken"),hc=new M("PlatformDestroyListeners"),Zy=new M("appBootstrapListener");function Xy(e,t,n=[]){const r=`Platform: ${t}`,o=new M(r);return(s=[])=>{let i=pc();if(!i||i.injector.get(Wy,!1)){const a=[...n,...s,{provide:o,useValue:!0}];e?e(a):function s1(e){if(ln&&!ln.get(Wy,!1))throw new C(400,!1);(function Yy(){!function IC(e){bf=e}(()=>{throw new C(600,!1)})})(),ln=e;const t=e.get(Ky);(function Qy(e){e.get(hp,null)?.forEach(n=>n())})(e)}(function Jy(e=[],t){return dt.create({name:t,providers:[{provide:zu,useValue:"platform"},{provide:hc,useValue:new Set([()=>ln=null])},...e]})}(a,r))}return function a1(e){const t=pc();if(!t)throw new C(401,!1);return t}()}}function pc(){return ln?.get(Ky)??null}let Ky=(()=>{var e;class t{constructor(r){this._injector=r,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(r,o){const s=function u1(e="zone.js",t){return"noop"===e?new t1:"zone.js"===e?new fe(t):e}(o?.ngZone,function e_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return s.run(()=>{const i=function oA(e,t,n){return new Ul(e,t,n)}(r.moduleType,this.injector,function s_(e){return[{provide:fe,useFactory:e},{provide:Ws,multi:!0,useFactory:()=>{const t=U(c1,{optional:!0});return()=>t.initialize()}},{provide:o_,useFactory:l1},{provide:Gy,useFactory:zy}]}(()=>s)),a=i.injector.get(Tn,null);return s.runOutsideAngular(()=>{const u=s.onError.subscribe({next:l=>{a.handleError(l)}});i.onDestroy(()=>{Fi(this._modules,i),u.unsubscribe()})}),function t_(e,t,n){try{const r=n();return _i(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(a,s,()=>{const u=i.injector.get(oc);return u.runInitializers(),u.donePromise.then(()=>(function bm(e){tt(e,"Expected localeId to be defined"),"string"==typeof e&&(wm=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(Zt,Ar)||Ar),this._moduleDoBootstrap(i),i))})})}bootstrapModule(r,o=[]){const s=n_({},o);return function r1(e,t,n){const r=new Gl(n);return Promise.resolve(r)}(0,0,r).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(r){const o=r.injector.get(Ro);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(s=>o.bootstrap(s));else{if(!r.instance.ngDoBootstrap)throw new C(-403,!1);r.instance.ngDoBootstrap(o)}this._modules.push(r)}onDestroy(r){this._destroyListeners.push(r)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const r=this._injector.get(hc,null);r&&(r.forEach(o=>o()),r.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return(e=t).\u0275fac=function(r){return new(r||e)(F(dt))},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"}),t})();function n_(e,t){return Array.isArray(t)?t.reduce(n_,e):{...e,...t}}let Ro=(()=>{var e;class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=U(o_),this.zoneIsStable=U(Gy),this.componentTypes=[],this.components=[],this.isStable=U(sc).hasPendingTasks.pipe(zd(r=>r?Sa(!1):this.zoneIsStable),function R0(e,t=Ca){return e=e??k0,Ft((n,r)=>{let o,s=!0;n.subscribe(Rt(r,i=>{const a=t(i);(s||!e(o,a))&&(s=!1,o=a,r.next(i))}))})}(),Gd()),this._injector=U(It)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){const s=r instanceof vp;if(!this._injector.get(oc).done)throw!s&&function $r(e){const t=H(e)||ve(e)||xe(e);return null!==t&&t.standalone}(r),new C(405,!1);let a;a=s?r:this._injector.get(oi).resolveComponentFactory(r),this.componentTypes.push(a.componentType);const u=function o1(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Pn),c=a.create(dt.NULL,[],o||a.selector,u),d=c.location.nativeElement,f=c.injector.get(qy,null);return f?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Fi(this.components,c),f?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){const o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){const o=r;Fi(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);const o=this._injector.get(Zy,[]);o.push(...this._bootstrapListeners),o.forEach(s=>s(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Fi(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new C(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function Fi(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const o_=new M("",{providedIn:"root",factory:()=>U(Tn).handleError.bind(void 0)});function l1(){const e=U(fe),t=U(Tn);return n=>e.runOutsideAngular(()=>t.handleError(n))}let c1=(()=>{var e;class t{constructor(){this.zone=U(fe),this.applicationRef=U(Ro)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();class c_{constructor(){}supports(t){return hi(t)}create(t){return new v1(t)}}const _1=(e,t)=>t;class v1{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||_1}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,s=null;for(;n||r;){const i=!r||n&&n.currentIndex<f_(r,o,s)?n:r,a=f_(i,o,s),u=i.currentIndex;if(i===r)o--,r=r._nextRemoved;else if(n=n._next,null==i.previousIndex)o++;else{s||(s=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const h=f<s.length?s[f]:s[f]=0,p=h+f;c<=p&&p<l&&(s[f]=h+1)}s[i.previousIndex]=c-l}}a!==u&&t(i,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!hi(t))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,s,i,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)s=t[a],i=this._trackByFn(a,s),null!==n&&Object.is(n.trackById,i)?(r&&(n=this._verifyReinsertion(n,s,i,a)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,i,a),r=!0),n=n._next}else o=0,function kM(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{i=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,i)?(r&&(n=this._verifyReinsertion(n,a,i,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,i,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,s,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,o)):t=this._addAfter(new D1(n,r),s,o),t}_verifyReinsertion(t,n,r,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,s=t._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new d_),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new d_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class D1{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class C1{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class d_{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new C1,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function f_(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class h_{constructor(){}supports(t){return t instanceof Map||Dl(t)}create(){return new E1}}class E1{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Dl(t)))throw new C(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const s=o._prev,i=o._next;return s&&(s._next=i),i&&(i._prev=s),o._next=null,o._prev=null,o}const r=new w1(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class w1{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function p_(){return new Li([new c_])}let Li=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(null!=o){const s=o.factories.slice();r=r.concat(s)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||p_()),deps:[[t,new yu,new mu]]}}find(r){const o=this.factories.find(s=>s.supports(r));if(null!=o)return o;throw new C(901,!1)}}return(e=t).\u0275prov=B({token:e,providedIn:"root",factory:p_}),t})();function g_(){return new ko([new h_])}let ko=(()=>{var e;class t{constructor(r){this.factories=r}static create(r,o){if(o){const s=o.factories.slice();r=r.concat(s)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||g_()),deps:[[t,new yu,new mu]]}}find(r){const o=this.factories.find(s=>s.supports(r));if(o)return o;throw new C(901,!1)}}return(e=t).\u0275prov=B({token:e,providedIn:"root",factory:g_}),t})();const I1=Xy(null,"core",[]);let S1=(()=>{var e;class t{constructor(r){}}return(e=t).\u0275fac=function(r){return new(r||e)(F(Ro))},e.\u0275mod=Vt({type:e}),e.\u0275inj=_t({}),t})(),Cc=null;function Lo(){return Cc}class B1{}const cn=new M("DocumentToken");function x_(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,s]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(s)}return null}class AN{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let F_=(()=>{var e;class t{set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}constructor(r,o,s){this._viewContainer=r,this._template=o,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;!this._differ&&r&&(this._differ=this._differs.find(r).create(this.ngForTrackBy))}if(this._differ){const r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){const o=this._viewContainer;r.forEachOperation((s,i,a)=>{if(null==s.previousIndex)o.createEmbeddedView(this._template,new AN(s.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)o.remove(null===i?void 0:i);else if(null!==i){const u=o.get(i);o.move(u,a),R_(u,s)}});for(let s=0,i=o.length;s<i;s++){const u=o.get(s).context;u.index=s,u.count=i,u.ngForOf=this._ngForOf}r.forEachIdentityChange(s=>{R_(o.get(s.currentIndex),s)})}static ngTemplateContextGuard(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(D(xt),D(Wt),D(Li))},e.\u0275dir=x({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function R_(e,t){e.context.$implicit=t.item}let k_=(()=>{var e;class t{constructor(r,o){this._viewContainer=r,this._context=new TN,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){L_("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){L_("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}}return(e=t).\u0275fac=function(r){return new(r||e)(D(xt),D(Wt))},e.\u0275dir=x({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class TN{constructor(){this.$implicit=null,this.ngIf=null}}function L_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${pe(t)}'.`)}let j_=(()=>{var e;class t{constructor(r,o,s){this._ngEl=r,this._differs=o,this._renderer=s,this._ngStyle=null,this._differ=null}set ngStyle(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}ngDoCheck(){if(this._differ){const r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}_setStyle(r,o){const[s,i]=r.split("."),a=-1===s.indexOf("-")?void 0:on.DashCase;null!=o?this._renderer.setStyle(this._ngEl.nativeElement,s,i?`${o}${i}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,s,a)}_applyChanges(r){r.forEachRemovedItem(o=>this._setStyle(o.key,null)),r.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),r.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}}return(e=t).\u0275fac=function(r){return new(r||e)(D(ct),D(ko),D(An))},e.\u0275dir=x({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),t})(),tx=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=_t({}),t})();function $_(e){return"server"===e}class U_{}class Ax extends B1{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Vc extends Ax{static makeCurrent(){!function j1(e){Cc||(Cc=e)}(new Vc)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function Tx(){return Ho=Ho||document.querySelector("base"),Ho?Ho.getAttribute("href"):null}();return null==n?null:function Nx(e){Xi=Xi||document.createElement("a"),Xi.setAttribute("href",e);const t=Xi.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Ho=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return x_(document.cookie,t)}}let Xi,Ho=null,Ox=(()=>{var e;class t{build(){return new XMLHttpRequest}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const jc=new M("EventManagerPlugins");let Z_=(()=>{var e;class t{constructor(r,o){this._zone=o,this._eventNameToPlugin=new Map,r.forEach(s=>{s.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,o,s){return this._findPluginFor(o).addEventListener(r,o,s)}getZone(){return this._zone}_findPluginFor(r){let o=this._eventNameToPlugin.get(r);if(o)return o;if(o=this._plugins.find(i=>i.supports(r)),!o)throw new C(5101,!1);return this._eventNameToPlugin.set(r,o),o}}return(e=t).\u0275fac=function(r){return new(r||e)(F(jc),F(fe))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();class Y_{constructor(t){this._doc=t}}const Bc="ng-app-id";let Q_=(()=>{var e;class t{constructor(r,o,s,i={}){this.doc=r,this.appId=o,this.nonce=s,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=$_(i),this.resetHostNodes()}addStyles(r){for(const o of r)1===this.changeUsageCount(o,1)&&this.onStyleAdded(o)}removeStyles(r){for(const o of r)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){const r=this.styleNodesInDOM;r&&(r.forEach(o=>o.remove()),r.clear());for(const o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(const o of this.getAllStyles())this.addStyleToHost(r,o)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(const o of this.hostNodes)this.addStyleToHost(o,r)}onStyleRemoved(r){const o=this.styleRef;o.get(r)?.elements?.forEach(s=>s.remove()),o.delete(r)}collectServerRenderedStyles(){const r=this.doc.head?.querySelectorAll(`style[${Bc}="${this.appId}"]`);if(r?.length){const o=new Map;return r.forEach(s=>{null!=s.textContent&&o.set(s.textContent,s)}),o}return null}changeUsageCount(r,o){const s=this.styleRef;if(s.has(r)){const i=s.get(r);return i.usage+=o,i.usage}return s.set(r,{usage:o,elements:[]}),o}getStyleElement(r,o){const s=this.styleNodesInDOM,i=s?.get(o);if(i?.parentNode===r)return s.delete(o),i.removeAttribute(Bc),i;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(Bc,this.appId),a}}addStyleToHost(r,o){const s=this.getStyleElement(r,o);r.appendChild(s);const i=this.styleRef,a=i.get(o)?.elements;a?a.push(s):i.set(o,{elements:[s],usage:1})}resetHostNodes(){const r=this.hostNodes;r.clear(),r.add(this.doc.head)}}return(e=t).\u0275fac=function(r){return new(r||e)(F(cn),F(Js),F(pp,8),F(Sn))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const Hc={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},$c=/%COMP%/g,kx=new M("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function J_(e,t){return t.map(n=>n.replace($c,e))}let K_=(()=>{var e;class t{constructor(r,o,s,i,a,u,l,c=null){this.eventManager=r,this.sharedStylesHost=o,this.appId=s,this.removeStylesOnCompDestroy=i,this.doc=a,this.platformId=u,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=$_(u),this.defaultRenderer=new Uc(r,a,l,this.platformIsServer)}createRenderer(r,o){if(!r||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===it.ShadowDom&&(o={...o,encapsulation:it.Emulated});const s=this.getOrCreateRenderer(r,o);return s instanceof tv?s.applyToHost(r):s instanceof Gc&&s.applyStyles(),s}getOrCreateRenderer(r,o){const s=this.rendererByCompId;let i=s.get(o.id);if(!i){const a=this.doc,u=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case it.Emulated:i=new tv(l,c,o,this.appId,d,a,u,f);break;case it.ShadowDom:return new Bx(l,c,r,o,a,u,this.nonce,f);default:i=new Gc(l,c,o,d,a,u,f)}s.set(o.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}}return(e=t).\u0275fac=function(r){return new(r||e)(F(Z_),F(Q_),F(Js),F(kx),F(cn),F(Sn),F(fe),F(pp))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();class Uc{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(Hc[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(ev(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(ev(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new C(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const s=Hc[o];s?t.setAttributeNS(s,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Hc[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(on.DashCase|on.Important)?t.style.setProperty(n,r,o&on.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&on.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Lo().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&n.preventDefault()}}}function ev(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Bx extends Uc{constructor(t,n,r,o,s,i,a,u){super(t,s,i,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=J_(o.id,o.styles);for(const c of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Gc extends Uc{constructor(t,n,r,o,s,i,a,u){super(t,s,i,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=u?J_(u,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class tv extends Gc{constructor(t,n,r,o,s,i,a,u){const l=o+"-"+r.id;super(t,n,r,s,i,a,u,l),this.contentAttr=function Lx(e){return"_ngcontent-%COMP%".replace($c,e)}(l),this.hostAttr=function Vx(e){return"_nghost-%COMP%".replace($c,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let Hx=(()=>{var e;class t extends Y_{constructor(r){super(r)}supports(r){return!0}addEventListener(r,o,s){return r.addEventListener(o,s,!1),()=>this.removeEventListener(r,o,s)}removeEventListener(r,o,s){return r.removeEventListener(o,s)}}return(e=t).\u0275fac=function(r){return new(r||e)(F(cn))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const nv=["alt","control","meta","shift"],$x={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ux={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Gx=(()=>{var e;class t extends Y_{constructor(r){super(r)}supports(r){return null!=t.parseEventName(r)}addEventListener(r,o,s){const i=t.parseEventName(o),a=t.eventCallback(i.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Lo().onAndCancel(r,i.domEventName,a))}static parseEventName(r){const o=r.toLowerCase().split("."),s=o.shift();if(0===o.length||"keydown"!==s&&"keyup"!==s)return null;const i=t._normalizeKey(o.pop());let a="",u=o.indexOf("code");if(u>-1&&(o.splice(u,1),a="code."),nv.forEach(c=>{const d=o.indexOf(c);d>-1&&(o.splice(d,1),a+=c+".")}),a+=i,0!=o.length||0===i.length)return null;const l={};return l.domEventName=s,l.fullKey=a,l}static matchEventFullKeyCode(r,o){let s=$x[r.key]||r.key,i="";return o.indexOf("code.")>-1&&(s=r.code,i="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),nv.forEach(a=>{a!==s&&(0,Ux[a])(r)&&(i+=a+".")}),i+=s,i===o)}static eventCallback(r,o,s){return i=>{t.matchEventFullKeyCode(i,r)&&s.runGuarded(()=>o(i))}}static _normalizeKey(r){return"esc"===r?"escape":r}}return(e=t).\u0275fac=function(r){return new(r||e)(F(cn))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const Zx=Xy(I1,"browser",[{provide:Sn,useValue:"browser"},{provide:hp,useValue:function zx(){Vc.makeCurrent()},multi:!0},{provide:cn,useFactory:function Wx(){return function Mw(e){Fu=e}(document),document},deps:[]}]),Yx=new M(""),sv=[{provide:Pi,useClass:class xx{addToWindow(t){Q.getAngularTestability=(r,o=!0)=>{const s=t.findTestabilityInTree(r,o);if(null==s)throw new C(5103,!1);return s},Q.getAllAngularTestabilities=()=>t.getAllTestabilities(),Q.getAllAngularRootElements=()=>t.getAllRootElements(),Q.frameworkStabilizers||(Q.frameworkStabilizers=[]),Q.frameworkStabilizers.push(r=>{const o=Q.getAllAngularTestabilities();let s=o.length,i=!1;const a=function(u){i=i||u,s--,0==s&&r(i)};o.forEach(u=>{u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Lo().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:qy,useClass:cc,deps:[fe,dc,Pi]},{provide:cc,useClass:cc,deps:[fe,dc,Pi]}],iv=[{provide:zu,useValue:"root"},{provide:Tn,useFactory:function qx(){return new Tn},deps:[]},{provide:jc,useClass:Hx,multi:!0,deps:[cn,fe,Sn]},{provide:jc,useClass:Gx,multi:!0,deps:[cn]},K_,Q_,Z_,{provide:Cp,useExisting:K_},{provide:U_,useClass:Ox,deps:[]},[]];let Qx=(()=>{var e;class t{constructor(r){}static withServerTransition(r){return{ngModule:t,providers:[{provide:Js,useValue:r.appId}]}}}return(e=t).\u0275fac=function(r){return new(r||e)(F(Yx,12))},e.\u0275mod=Vt({type:e}),e.\u0275inj=_t({providers:[...iv,...sv],imports:[tx,S1]}),t})();typeof window<"u"&&window;const{isArray:rO}=Array,{getPrototypeOf:oO,prototype:sO,keys:iO}=Object;const{isArray:lO}=Array;function fO(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function hO(...e){const t=function I0(e){return re(Ia(e))?e.pop():void 0}(e),{args:n,keys:r}=function aO(e){if(1===e.length){const t=e[0];if(rO(t))return{args:t,keys:null};if(function uO(e){return e&&"object"==typeof e&&oO(e)===sO}(t)){const n=iO(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new we(s=>{const{length:i}=n;if(!i)return void s.complete();const a=new Array(i);let u=i,l=i;for(let c=0;c<i;c++){let d=!1;yt(n[c]).subscribe(Rt(s,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||s.next(r?fO(r,a):a),s.complete())}))}});return t?o.pipe(function dO(e){return vn(t=>function cO(e,t){return lO(t)?e(...t):e(t)}(e,t))}(t)):o}let cv=(()=>{var e;class t{constructor(r,o){this._renderer=r,this._elementRef=o,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(r,o){this._renderer.setProperty(this._elementRef.nativeElement,r,o)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}}return(e=t).\u0275fac=function(r){return new(r||e)(D(An),D(ct))},e.\u0275dir=x({type:e}),t})(),Rn=(()=>{var e;class t extends cv{}return(e=t).\u0275fac=function(){let n;return function(o){return(n||(n=function Me(e){return kt(()=>{const t=e.prototype.constructor,n=t[Lt]||du(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const s=o[Lt]||du(o);if(s&&s!==n)return s;o=Object.getPrototypeOf(o)}return s=>new s})}(e)))(o||e)}}(),e.\u0275dir=x({type:e,features:[Y]}),t})();const Ot=new M("NgValueAccessor"),gO={provide:Ot,useExisting:J(()=>Ji),multi:!0},yO=new M("CompositionEventMode");let Ji=(()=>{var e;class t extends cv{constructor(r,o,s){super(r,o),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mO(){const e=Lo()?Lo().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(r){this.setProperty("value",r??"")}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(D(An),D(ct),D(yO,8))},e.\u0275dir=x({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&me("input",function(i){return o._handleInput(i.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(i){return o._compositionEnd(i.target.value)})},features:[se([gO]),Y]}),t})();function fn(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function fv(e){return null!=e&&"number"==typeof e.length}const Ne=new M("NgValidators"),hn=new M("NgAsyncValidators"),_O=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class qc{static min(t){return function hv(e){return t=>{if(fn(t.value)||fn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function pv(e){return t=>{if(fn(t.value)||fn(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function gv(e){return fn(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function mv(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function yv(e){return fn(e.value)||_O.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function _v(e){return t=>fn(t.value)||!fv(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function vv(e){return t=>fv(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static pattern(t){return function Dv(e){if(!e)return Ki;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(fn(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(t)}static nullValidator(t){return null}static compose(t){return Iv(t)}static composeAsync(t){return Sv(t)}}function Ki(e){return null}function Cv(e){return null!=e}function Ev(e){return _i(e)?rs(e):e}function wv(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function bv(e,t){return t.map(n=>n(e))}function Mv(e){return e.map(t=>function vO(e){return!e.validate}(t)?t:n=>t.validate(n))}function Iv(e){if(!e)return null;const t=e.filter(Cv);return 0==t.length?null:function(n){return wv(bv(n,t))}}function Wc(e){return null!=e?Iv(Mv(e)):null}function Sv(e){if(!e)return null;const t=e.filter(Cv);return 0==t.length?null:function(n){return hO(bv(n,t).map(Ev)).pipe(vn(wv))}}function Zc(e){return null!=e?Sv(Mv(e)):null}function Av(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Tv(e){return e._rawValidators}function Nv(e){return e._rawAsyncValidators}function Yc(e){return e?Array.isArray(e)?e:[e]:[]}function ea(e,t){return Array.isArray(e)?e.includes(t):e===t}function xv(e,t){const n=Yc(t);return Yc(e).forEach(o=>{ea(n,o)||n.push(o)}),n}function Ov(e,t){return Yc(t).filter(n=>!ea(e,n))}class Pv{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Wc(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Zc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class je extends Pv{get formDirective(){return null}get path(){return null}}class pn extends Pv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Fv{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Rv=(()=>{var e;class t extends Fv{constructor(r){super(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(D(pn,2))},e.\u0275dir=x({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Ei("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Y]}),t})(),kv=(()=>{var e;class t extends Fv{constructor(r){super(r)}}return(e=t).\u0275fac=function(r){return new(r||e)(D(je,10))},e.\u0275dir=x({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&Ei("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Y]}),t})();const $o="VALID",na="INVALID",Or="PENDING",Uo="DISABLED";function Jc(e){return(ra(e)?e.validators:e)||null}function Kc(e,t){return(ra(t)?t.asyncValidators:e)||null}function ra(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Vv(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new C(1e3,"");if(!r[n])throw new C(1001,"")}function jv(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new C(1002,"")})}class oa{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===$o}get invalid(){return this.status===na}get pending(){return this.status==Or}get disabled(){return this.status===Uo}get enabled(){return this.status!==Uo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(xv(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(xv(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Ov(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Ov(t,this._rawAsyncValidators))}hasValidator(t){return ea(this._rawValidators,t)}hasAsyncValidator(t){return ea(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Or,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Uo,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=$o,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===$o||this.status===Or)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Uo:$o}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Or,this._hasOwnPendingAsyncValidator=!0;const n=Ev(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Te,this.statusChanges=new Te}_calculateStatus(){return this._allControlsDisabled()?Uo:this.errors?na:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Or)?Or:this._anyControlsHaveStatus(na)?na:$o}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ra(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function wO(e){return Array.isArray(e)?Wc(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function bO(e){return Array.isArray(e)?Zc(e):e||null}(this._rawAsyncValidators)}}class Go extends oa{constructor(t,n,r){super(Jc(n),Kc(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){jv(this,0,t),Object.keys(t).forEach(r=>{Vv(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,s)=>{r=n(r,o,s)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class Bv extends Go{}const Pr=new M("CallSetDisabledState",{providedIn:"root",factory:()=>sa}),sa="always";function zo(e,t,n=sa){ed(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function IO(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Hv(e,t)})}(e,t),function AO(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function SO(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Hv(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function MO(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function aa(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),la(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ua(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function ed(e,t){const n=Tv(e);null!==t.validator?e.setValidators(Av(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=Nv(e);null!==t.asyncValidator?e.setAsyncValidators(Av(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();ua(t._rawValidators,o),ua(t._rawAsyncValidators,o)}function la(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=Tv(e);if(Array.isArray(o)&&o.length>0){const s=o.filter(i=>i!==t.validator);s.length!==o.length&&(n=!0,e.setValidators(s))}}if(null!==t.asyncValidator){const o=Nv(e);if(Array.isArray(o)&&o.length>0){const s=o.filter(i=>i!==t.asyncValidator);s.length!==o.length&&(n=!0,e.setAsyncValidators(s))}}}const r=()=>{};return ua(t._rawValidators,r),ua(t._rawAsyncValidators,r),n}function Hv(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Gv(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function zv(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Wo=class extends oa{constructor(t=null,n,r){super(Jc(n),Kc(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ra(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=zv(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Gv(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Gv(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){zv(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};let Xv=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=_t({}),t})();const sd=new M("NgModelWithFormControlWarning"),UO={provide:je,useExisting:J(()=>ca)};let ca=(()=>{var e;class t extends je{constructor(r,o,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Te,this._setValidators(r),this._setAsyncValidators(o)}ngOnChanges(r){this._checkFormPresent(),r.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(la(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(r){const o=this.form.get(r.path);return zo(o,r,this.callSetDisabledState),o.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),o}getControl(r){return this.form.get(r.path)}removeControl(r){aa(r.control||null,r,!1),function OO(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,r)}addFormGroup(r){this._setUpFormContainer(r)}removeFormGroup(r){this._cleanUpFormContainer(r)}getFormGroup(r){return this.form.get(r.path)}addFormArray(r){this._setUpFormContainer(r)}removeFormArray(r){this._cleanUpFormContainer(r)}getFormArray(r){return this.form.get(r.path)}updateModel(r,o){this.form.get(r.path).setValue(o)}onSubmit(r){return this.submitted=!0,function Uv(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(r),"dialog"===r?.target?.method}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this.submitted=!1}_updateDomValue(){this.directives.forEach(r=>{const o=r.control,s=this.form.get(r.path);o!==s&&(aa(o||null,r),(e=>e instanceof Wo)(s)&&(zo(s,r,this.callSetDisabledState),r.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(r){const o=this.form.get(r.path);(function $v(e,t){ed(e,t)})(o,r),o.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(r){if(this.form){const o=this.form.get(r.path);o&&function TO(e,t){return la(e,t)}(o,r)&&o.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ed(this.form,this),this._oldForm&&la(this._oldForm,this)}_checkFormPresent(){}}return(e=t).\u0275fac=function(r){return new(r||e)(D(Ne,10),D(hn,10),D(Pr,8))},e.\u0275dir=x({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&me("submit",function(i){return o.onSubmit(i)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[se([UO]),Y,Bt]}),t})();const qO={provide:pn,useExisting:J(()=>ud)};let ud=(()=>{var e;class t extends pn{set isDisabled(r){}constructor(r,o,s,i,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new Te,this._ngModelWarningSent=!1,this._parent=r,this._setValidators(o),this._setAsyncValidators(s),this.valueAccessor=function rd(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(s=>{s.constructor===Ji?n=s:function xO(e){return Object.getPrototypeOf(e.constructor)===Rn}(s)?r=s:o=s}),o||r||n||null}(0,i)}ngOnChanges(r){this._added||this._setUpControl(),function nd(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(r,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}get path(){return function ia(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return(e=t)._ngModelWarningSentOnce=!1,e.\u0275fac=function(r){return new(r||e)(D(je,13),D(Ne,10),D(hn,10),D(Ot,10),D(sd,8))},e.\u0275dir=x({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[se([qO]),Y,Bt]}),t})(),a4=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=_t({imports:[Xv]}),t})();class hD extends oa{constructor(t,n,r){super(Jc(n),Kc(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){jv(this,0,t),t.forEach((r,o)=>{Vv(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function pD(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let u4=(()=>{var e;class t{constructor(){this.useNonNullable=!1}get nonNullable(){const r=new t;return r.useNonNullable=!0,r}group(r,o=null){const s=this._reduceControls(r);let i={};return pD(o)?i=o:null!==o&&(i.validators=o.validator,i.asyncValidators=o.asyncValidator),new Go(s,i)}record(r,o=null){const s=this._reduceControls(r);return new Bv(s,o)}control(r,o,s){let i={};return this.useNonNullable?(pD(o)?i=o:(i.validators=o,i.asyncValidators=s),new Wo(r,{...i,nonNullable:!0})):new Wo(r,o,s)}array(r,o,s){const i=r.map(a=>this._createControl(a));return new hD(i,o,s)}_reduceControls(r){const o={};return Object.keys(r).forEach(s=>{o[s]=this._createControl(r[s])}),o}_createControl(r){return r instanceof Wo||r instanceof oa?r:Array.isArray(r)?this.control(r[0],r.length>1?r[1]:null,r.length>2?r[2]:null):this.control(r)}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})(),l4=(()=>{var e;class t{static withConfig(r){return{ngModule:t,providers:[{provide:sd,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:Pr,useValue:r.callSetDisabledState??sa}]}}}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=_t({imports:[a4]}),t})();function gD(e){return Ft((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}class da{}class fa{}class Pt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),s=o.toLowerCase(),i=n.slice(r+1).trim();this.maybeSetNormalizedName(o,s),this.headers.has(s)?this.headers.get(s).push(i):this.headers.set(s,[i])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Pt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Pt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Pt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const s=t.value;if(s){let i=this.headers.get(n);if(!i)return;i=i.filter(a=>-1===s.indexOf(a)),0===i.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,i)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(s=>s.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class f4{encodeKey(t){return mD(t)}encodeValue(t){return mD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const p4=/%(\d[a-f0-9])/gi,g4={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function mD(e){return encodeURIComponent(e).replace(p4,(t,n)=>g4[n]??t)}function ha(e){return`${e}`}class gn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new f4,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function h4(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const s=o.indexOf("="),[i,a]=-1==s?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,s)),t.decodeValue(o.slice(s+1))],u=n.get(i)||[];u.push(a),n.set(i,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(ha):[ha(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(s=>{n.push({param:r,value:s,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new gn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(ha(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(ha(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class m4{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function yD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function _D(e){return typeof Blob<"u"&&e instanceof Blob}function vD(e){return typeof FormData<"u"&&e instanceof FormData}class Zo{constructor(t,n,r,o){let s;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function y4(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,s=o):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new Pt),this.context||(this.context=new m4),this.params){const i=this.params.toString();if(0===i.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+i}}else this.params=new gn,this.urlWithParams=n}serializeBody(){return null===this.body?null:yD(this.body)||_D(this.body)||vD(this.body)||function _4(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof gn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||vD(this.body)?null:_D(this.body)?this.body.type||null:yD(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof gn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,i=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,l=t.params||this.params;const c=t.context??this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),l)),new Zo(n,r,s,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:i})}}var Fr=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Fr||{});class fd{constructor(t,n=200,r="OK"){this.headers=t.headers||new Pt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class hd extends fd{constructor(t={}){super(t),this.type=Fr.ResponseHeader}clone(t={}){return new hd({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Rr extends fd{constructor(t={}){super(t),this.type=Fr.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Rr({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class DD extends fd{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function pd(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let CD=(()=>{var e;class t{constructor(r){this.handler=r}request(r,o,s={}){let i;if(r instanceof Zo)i=r;else{let l,c;l=s.headers instanceof Pt?s.headers:new Pt(s.headers),s.params&&(c=s.params instanceof gn?s.params:new gn({fromObject:s.params})),i=new Zo(r,o,void 0!==s.body?s.body:null,{headers:l,context:s.context,params:c,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}const a=Sa(i).pipe(function c4(e,t){return re(t)?ns(e,t,1):ns(e,1)}(l=>this.handler.handle(l)));if(r instanceof Zo||"events"===s.observe)return a;const u=a.pipe(function d4(e,t){return Ft((n,r)=>{let o=0;n.subscribe(Rt(r,s=>e.call(t,s,o++)&&r.next(s)))})}(l=>l instanceof Rr));switch(s.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return u.pipe(vn(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return u.pipe(vn(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return u.pipe(vn(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return u.pipe(vn(l=>l.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(r,o={}){return this.request("DELETE",r,o)}get(r,o={}){return this.request("GET",r,o)}head(r,o={}){return this.request("HEAD",r,o)}jsonp(r,o){return this.request("JSONP",r,{params:(new gn).append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,o={}){return this.request("OPTIONS",r,o)}patch(r,o,s={}){return this.request("PATCH",r,pd(s,o))}post(r,o,s={}){return this.request("POST",r,pd(s,o))}put(r,o,s={}){return this.request("PUT",r,pd(s,o))}}return(e=t).\u0275fac=function(r){return new(r||e)(F(da))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();function bD(e,t){return t(e)}function D4(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const E4=new M(""),Yo=new M(""),MD=new M("");function w4(){let e=null;return(t,n)=>{null===e&&(e=(U(E4,{optional:!0})??[]).reduceRight(D4,bD));const r=U(sc),o=r.add();return e(t,n).pipe(gD(()=>r.remove(o)))}}let ID=(()=>{var e;class t extends da{constructor(r,o){super(),this.backend=r,this.injector=o,this.chain=null,this.pendingTasks=U(sc)}handle(r){if(null===this.chain){const s=Array.from(new Set([...this.injector.get(Yo),...this.injector.get(MD,[])]));this.chain=s.reduceRight((i,a)=>function C4(e,t,n){return(r,o)=>n.runInContext(()=>t(r,s=>e(s,o)))}(i,a,this.injector),bD)}const o=this.pendingTasks.add();return this.chain(r,s=>this.backend.handle(s)).pipe(gD(()=>this.pendingTasks.remove(o)))}}return(e=t).\u0275fac=function(r){return new(r||e)(F(fa),F(It))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const S4=/^\)\]\}',?\n/;let AD=(()=>{var e;class t{constructor(r){this.xhrFactory=r}handle(r){if("JSONP"===r.method)throw new C(-2800,!1);const o=this.xhrFactory;return(o.\u0275loadImpl?rs(o.\u0275loadImpl()):Sa(null)).pipe(zd(()=>new we(i=>{const a=o.build();if(a.open(r.method,r.urlWithParams),r.withCredentials&&(a.withCredentials=!0),r.headers.forEach((y,v)=>a.setRequestHeader(y,v.join(","))),r.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!r.headers.has("Content-Type")){const y=r.detectContentTypeHeader();null!==y&&a.setRequestHeader("Content-Type",y)}if(r.responseType){const y=r.responseType.toLowerCase();a.responseType="json"!==y?y:"text"}const u=r.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const y=a.statusText||"OK",v=new Pt(a.getAllResponseHeaders()),m=function A4(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(a)||r.url;return l=new hd({headers:v,status:a.status,statusText:y,url:m}),l},d=()=>{let{headers:y,status:v,statusText:m,url:b}=c(),w=null;204!==v&&(w=typeof a.response>"u"?a.responseText:a.response),0===v&&(v=w?200:0);let k=v>=200&&v<300;if("json"===r.responseType&&"string"==typeof w){const Ee=w;w=w.replace(S4,"");try{w=""!==w?JSON.parse(w):null}catch(et){w=Ee,k&&(k=!1,w={error:et,text:w})}}k?(i.next(new Rr({body:w,headers:y,status:v,statusText:m,url:b||void 0})),i.complete()):i.error(new DD({error:w,headers:y,status:v,statusText:m,url:b||void 0}))},f=y=>{const{url:v}=c(),m=new DD({error:y,status:a.status||0,statusText:a.statusText||"Unknown Error",url:v||void 0});i.error(m)};let h=!1;const p=y=>{h||(i.next(c()),h=!0);let v={type:Fr.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),"text"===r.responseType&&a.responseText&&(v.partialText=a.responseText),i.next(v)},g=y=>{let v={type:Fr.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),i.next(v)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),r.reportProgress&&(a.addEventListener("progress",p),null!==u&&a.upload&&a.upload.addEventListener("progress",g)),a.send(u),i.next({type:Fr.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),r.reportProgress&&(a.removeEventListener("progress",p),null!==u&&a.upload&&a.upload.removeEventListener("progress",g)),a.readyState!==a.DONE&&a.abort()}})))}}return(e=t).\u0275fac=function(r){return new(r||e)(F(U_))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();const gd=new M("XSRF_ENABLED"),TD=new M("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ND=new M("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class xD{}let x4=(()=>{var e;class t{constructor(r,o,s){this.doc=r,this.platform=o,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=x_(r,this.cookieName),this.lastCookieString=r),this.lastToken}}return(e=t).\u0275fac=function(r){return new(r||e)(F(cn),F(Sn),F(TD))},e.\u0275prov=B({token:e,factory:e.\u0275fac}),t})();function O4(e,t){const n=e.url.toLowerCase();if(!U(gd)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=U(xD).getToken(),o=U(ND);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var mn=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(mn||{});function Ln(e,t){return{\u0275kind:e,\u0275providers:t}}function P4(...e){const t=[CD,AD,ID,{provide:da,useExisting:ID},{provide:fa,useExisting:AD},{provide:Yo,useValue:O4,multi:!0},{provide:gd,useValue:!0},{provide:xD,useClass:x4}];for(const n of e)t.push(...n.\u0275providers);return function $u(e){return{\u0275providers:e}}(t)}const OD=new M("LEGACY_INTERCEPTOR_FN");let R4=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=_t({providers:[P4(Ln(mn.LegacyInterceptors,[{provide:OD,useFactory:w4},{provide:Yo,useExisting:OD,multi:!0}]))]}),t})(),H4=(()=>{var e;class t{constructor(r){this.http=r}sendOrder(r){return this.http.post("https://testologia.site/burgers-order",r)}getData(){return this.http.get("https://testologia.site/burgers-data?extra=black")}}return(e=t).\u0275fac=function(r){return new(r||e)(F(CD))},e.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"}),t})();function $4(e,t){if(1&e){const n=Nl();R(0,"div",48)(1,"div",49),Re(2,"img",50),L(),R(3,"div",51),ee(4),L(),R(5,"div",52),ee(6),L(),R(7,"div",53)(8,"div",54)(9,"div",55),ee(10),L(),R(11,"div",56),ee(12),L()(),R(13,"div",57)(14,"button",58),me("click",function(){const s=Wn(n).$implicit,i=vi(),a=Mr(63);return Zn(i.scrollTo(a,s))}),R(15,"span"),ee(16,"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c"),L(),R(17,"span"),function Yf(){S.lFrame.currentNamespace=Nf}(),R(18,"svg",59),Re(19,"path",60),L()()()()()()}if(2&e){const n=t.$implicit,r=vi();Se(2),Di("src",n.image,Bu),Di("alt",n.title),Se(2),bo(n.title),Se(2),bo(n.text),Se(4),kl("",n.price," ",r.currency,""),Se(2),bi("",n.grams," \u0433\u0440")}}const U4=function(e){return{showed:e}};function G4(e,t){if(1&e&&(R(0,"div",61),Re(1,"lottie-player",62),L()),2&e){const n=vi();Eo(No(2,U4,n.loaderShowed))}}const md=function(e){return{error:e}};let z4=(()=>{var e;class t{constructor(r,o){this.fb=r,this.appService=o,this.currency="$",this.loaderShowed=!0,this.loader=!0,this.form=this.fb.group({order:["",qc.required],name:["",qc.required],phone:["",qc.required]})}onMouseMove(r){this.orderImageStyle={transform:"translate(-"+.3*r.clientX/8+"px,-"+.3*r.clientY/8+"px)"},this.mainImageStyle={transform:"translate(-"+.3*r.clientX/8+"px,-"+.3*r.clientY/8+"px)"}}ngOnInit(){setTimeout(()=>{this.loaderShowed=!1},3e3),setTimeout(()=>{this.loader=!1},4e3),this.appService.getData().subscribe(r=>this.productsData=r)}scrollTo(r,o){r.scrollIntoView({behavior:"smooth"}),o&&this.form.patchValue({order:o.title+" ("+o.price+" "+this.currency+")"})}confirmOrder(){this.form.valid&&this.appService.sendOrder(this.form.value).subscribe({next:r=>{alert(r.message),this.form.reset()},error:r=>{alert(r.error.message)}})}changeCurrency(){let r="$",o=1;"$"===this.currency?(r="\u20bd",o=90):"\u20bd"===this.currency?(r="BYN",o=3):"BYN"===this.currency?(r="\u20ac",o=.9):"\u20ac"===this.currency&&(r="\xa5",o=6.9),this.currency=r,this.productsData.forEach(s=>{s.price=+(s.basePrice*o).toFixed(1)})}}return(e=t).\u0275fac=function(r){return new(r||e)(D(u4),D(H4))},e.\u0275cmp=ff({type:e,selectors:[["app-root"]],hostBindings:function(r,o){1&r&&me("mousemove",function(i){return o.onMouseMove(i)},0,Sp)},decls:90,vars:19,consts:[[1,"main"],[1,"header"],[1,"container"],[1,"logo"],["src","./assets/images/Logo.png","alt","logo"],[1,"menu"],[1,"menu-list"],[1,"menu-item"],[3,"click"],["title","\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0430\u043b\u044e\u0442\u0443","id","change-currency",1,"currency",3,"click"],[1,"main-content"],[1,"main-info"],[1,"main-small-info"],[1,"main-title"],[1,"main-text"],[1,"main-action"],["id","main-action-button",1,"button",3,"click"],["src","./assets/images/main_burger.png","alt","Big burger",1,"main-image",3,"ngStyle"],["id","why",1,"why"],["why",""],[1,"why-title","common-title"],[1,"why-items"],[1,"why-item"],["src","./assets/images/burger.png","alt","Burger",1,"why-item-image"],[1,"why-item-title"],[1,"why-item-text"],["src","./assets/images/meat.png","alt","Meat",1,"why-item-image"],["src","./assets/images/food%20truck.png","alt","Food track",1,"why-item-image"],["id","products",1,"products"],["products",""],[1,"products-title","common-title"],[1,"products-items"],["class","products-item",4,"ngFor","ngForOf"],["id","order",1,"order"],["order",""],[1,"order-title","common-title"],["src","./assets/images/order_image.png","alt","Burger in the box",1,"order-image",3,"ngStyle"],[1,"order-form"],[1,"order-form-text"],[1,"order-form-inputs",3,"formGroup"],[1,"order-form-input"],["type","text","placeholder","\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u043e\u0432\u0430\u0440 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435","id","burger","formControlName","order","readonly",""],["type","text","placeholder","\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","id","name","formControlName","name"],["type","text","placeholder","\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d","id","phone","formControlName","phone"],["id","order-action",1,"button",3,"disabled","click"],[1,"footer"],[1,"rights"],["class","loader",3,"class",4,"ngIf"],[1,"products-item"],[1,"products-item-image"],[3,"src","alt"],[1,"products-item-title"],[1,"products-item-text"],[1,"products-item-extra"],[1,"products-item-info"],[1,"products-item-price"],[1,"products-item-weight"],[1,"products-item-action"],[1,"button","product-button",3,"click"],["width","24","height","25","viewBox","0 0 24 25","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M17 18.5C17.5304 18.5 18.0391 18.7107 18.4142 19.0858C18.7893 19.4609 19 19.9696 19 20.5C19 21.0304 18.7893 21.5391 18.4142 21.9142C18.0391 22.2893 17.5304 22.5 17 22.5C16.4696 22.5 15.9609 22.2893 15.5858 21.9142C15.2107 21.5391 15 21.0304 15 20.5C15 19.39 15.89 18.5 17 18.5ZM1 2.5H4.27L5.21 4.5H20C20.2652 4.5 20.5196 4.60536 20.7071 4.79289C20.8946 4.98043 21 5.23478 21 5.5C21 5.67 20.95 5.84 20.88 6L17.3 12.47C16.96 13.08 16.3 13.5 15.55 13.5H8.1L7.2 15.13L7.17 15.25C7.17 15.3163 7.19634 15.3799 7.24322 15.4268C7.29011 15.4737 7.3537 15.5 7.42 15.5H19V17.5H7C6.46957 17.5 5.96086 17.2893 5.58579 16.9142C5.21071 16.5391 5 16.0304 5 15.5C5 15.15 5.09 14.82 5.24 14.54L6.6 12.09L3 4.5H1V2.5ZM7 18.5C7.53043 18.5 8.03914 18.7107 8.41421 19.0858C8.78929 19.4609 9 19.9696 9 20.5C9 21.0304 8.78929 21.5391 8.41421 21.9142C8.03914 22.2893 7.53043 22.5 7 22.5C6.46957 22.5 5.96086 22.2893 5.58579 21.9142C5.21071 21.5391 5 21.0304 5 20.5C5 19.39 5.89 18.5 7 18.5ZM16 11.5L18.78 6.5H6.14L8.5 11.5H16Z","fill","#191411"],[1,"loader"],["src","./assets/burger.json","background","transparent","speed","1.5","autoplay",""]],template:function(r,o){if(1&r){const s=Nl();R(0,"section",0)(1,"header",1)(2,"div",2)(3,"div",3),Re(4,"img",4),L(),R(5,"nav",5)(6,"ul",6)(7,"li",7)(8,"a",8),me("click",function(){Wn(s);const a=Mr(32);return Zn(o.scrollTo(a))}),ee(9,"\u041f\u043e\u0447\u0435\u043c\u0443 \u0443 \u043d\u0430\u0441"),L()(),R(10,"li",7)(11,"a",8),me("click",function(){Wn(s);const a=Mr(56);return Zn(o.scrollTo(a))}),ee(12,"\u041c\u0435\u043d\u044e \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432"),L()(),R(13,"li",7)(14,"a",8),me("click",function(){Wn(s);const a=Mr(63);return Zn(o.scrollTo(a))}),ee(15,"\u041e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0430\u0437\u0430"),L()()()(),R(16,"div",9),me("click",function(){return o.changeCurrency()}),ee(17),L()()(),R(18,"section",10)(19,"div",2)(20,"div",11)(21,"span",12),ee(22,"\u041d\u043e\u0432\u0438\u043d\u043a\u0430"),L(),R(23,"h1",13),ee(24,"\u0431\u0443\u0440\u0433\u0435\u0440 \u0447\u0435\u0434\u0434\u0435\u0440"),L(),R(25,"p",14),ee(26,"\u041c\u044b \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0438 \u043d\u0430\u0448\u0435 \u043c\u0435\u043d\u044e, \u0441\u043f\u0435\u0448\u0438\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0437\u043e\u043d\u043d\u044b\u0435 \u043d\u043e\u0432\u0438\u043d\u043a\u0438 \u0438 \u043d\u0430\u0441\u043b\u0430\u0434\u0438\u0442\u044c\u0441\u044f \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u043c \u0432\u043a\u0443\u0441\u043e\u043c \u043d\u0430\u0448\u0438\u0445 \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432. \u0413\u043e\u0442\u043e\u0432\u0438\u043c \u0434\u043b\u044f \u0432\u0430\u0441 \u043b\u0443\u0447\u0448\u0438\u0435 \u0431\u0443\u0440\u0433\u0435\u0440\u044b \u0432 \u0433\u043e\u0440\u043e\u0434\u0435 \u0438\u0437 \u043e\u0442\u0431\u043e\u0440\u043d\u043e\u0439 \u043c\u0440\u0430\u043c\u043e\u0440\u043d\u043e\u0439 \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u044b."),L(),R(27,"div",15)(28,"button",16),me("click",function(){Wn(s);const a=Mr(56);return Zn(o.scrollTo(a))}),ee(29,"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043c\u0435\u043d\u044e"),L()()()(),Re(30,"img",17),L()(),R(31,"section",18,19)(33,"div",2)(34,"div",20),ee(35,"\u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0430\u0441 \u0432\u044b\u0431\u0438\u0440\u0430\u044e\u0442?"),L(),R(36,"div",21)(37,"div",22),Re(38,"img",23),R(39,"div",24),ee(40,"\u0410\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u044b"),L(),R(41,"div",25),ee(42,"\u041d\u0430\u0448\u0438 \u0431\u0443\u0440\u0433\u0435\u0440\u044b \u043e\u0431\u043b\u0430\u0434\u0430\u044e\u0442 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435\u043c \u0432\u043a\u0443\u0441\u043e\u0432 \u0438\xa0\u043d\u0435\xa0\u043f\u043e\u0445\u043e\u0436\u0438 \u043d\u0438\xa0\u043d\u0430\xa0\u043a\u0430\u043a\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435. \u041c\u044b\xa0\u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u0431\u0438\u0440\u0430\u0435\u043c \u043b\u0443\u0447\u0448\u0438\u0435 \u0438\u043d\u0433\u0440\u0435\u0434\u0438\u0435\u043d\u0442\u044b \u0438\xa0\u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f \u0432\u043a\u0443\u0441\u043e\u0432 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u0435\u043d\u044e. "),L()(),R(43,"div",22),Re(44,"img",26),R(45,"div",24),ee(46,"\u041c\u0440\u0430\u043c\u043e\u0440\u043d\u0430\u044f \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u0430"),L(),R(47,"div",25),ee(48,"\u0414\u043b\u044f \u043d\u0430\u0448\u0438\u0445 \u0431\u0443\u0440\u0433\u0435\u0440\u043e\u0432 \u043c\u044b\xa0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043e\u0442\u0431\u043e\u0440\u043d\u0443\u044e 100% \u043c\u0440\u0430\u043c\u043e\u0440\u043d\u0443\u044e \u0433\u043e\u0432\u044f\u0434\u0438\u043d\u0443, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0437\u0430\u043a\u0443\u043f\u0430\u0435\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\xa0\u0444\u0435\u0440\u043c\u0435\u0440\u043e\u0432. \u041c\u044b\xa0\u0443\u0432\u0435\u0440\u0435\u043d\u044b \u0432\xa0\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u044f\u0441\u0430. "),L()(),R(49,"div",22),Re(50,"img",27),R(51,"div",24),ee(52,"\u0411\u044b\u0441\u0442\u0440\u0430\u044f \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430"),L(),R(53,"div",25),ee(54,"\u041c\u044b\xa0\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432\xa0\u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u041c\u041a\u0410\u0414 \u0437\u0430\xa030\xa0\u043c\u0438\u043d\u0443\u0442, \u0430\xa0\u0435\u0441\u043b\u0438 \u043d\u0435\xa0\u0443\u0441\u043f\u0435\u0435\u043c\xa0\u2014 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e. \u041c\u044b\xa0\u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u043d\u0430\u0448\u0438 \u0431\u0443\u0440\u0433\u0435\u0440\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\xa0\u0434\u043e\u0440\u043e\u0433\u0435 \u043e\u043d\u0438 \u043d\u0435\xa0\u043e\u0441\u0442\u044b\u043b\u0438. "),L()()()()(),R(55,"section",28,29)(57,"div",2)(58,"div",30),ee(59,"\u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043e\u0439 \u0431\u0443\u0440\u0433\u0435\u0440"),L(),R(60,"div",31),Il(61,$4,20,7,"div",32),L()()(),R(62,"section",33,34)(64,"div",2)(65,"div",35),ee(66,"\u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0430\u0437\u0430"),L(),Re(67,"img",36),R(68,"div",37)(69,"div",38),ee(70,"\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043d\u0430\u0448 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0441\u0432\u044f\u0436\u0435\u0442\u0441\u044f \u0441 \u0432\u0430\u043c\u0438 \u0434\u043b\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430 "),L(),R(71,"div",39)(72,"div",40)(73,"label"),Re(74,"input",41),L()(),R(75,"div",40)(76,"label"),Re(77,"input",42),L()(),R(78,"div",40)(79,"label"),Re(80,"input",43),L()(),R(81,"button",44),me("click",function(){return o.confirmOrder()}),ee(82,"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0437\u0430\u043a\u0430\u0437"),L()()()()(),R(83,"footer",45)(84,"div",2)(85,"div",3),Re(86,"img",4),L(),R(87,"div",46),ee(88,"2023 \xa9 \u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b"),L()()(),Il(89,G4,2,4,"div",47)}if(2&r){let s,i,a;Se(17),bo(o.currency),Se(13),an("ngStyle",o.mainImageStyle),Se(31),an("ngForOf",o.productsData),Se(6),an("ngStyle",o.orderImageStyle),Se(4),an("formGroup",o.form),Se(1),Eo(No(13,md,(null==(s=o.form.get("order"))?null:s.invalid)&&((null==(s=o.form.get("order"))?null:s.dirty)||(null==(s=o.form.get("order"))?null:s.touched)))),Se(3),Eo(No(15,md,(null==(i=o.form.get("name"))?null:i.invalid)&&((null==(i=o.form.get("name"))?null:i.dirty)||(null==(i=o.form.get("name"))?null:i.touched)))),Se(3),Eo(No(17,md,(null==(a=o.form.get("phone"))?null:a.invalid)&&((null==(a=o.form.get("phone"))?null:a.dirty)||(null==(a=o.form.get("phone"))?null:a.touched)))),Se(3),an("disabled",!o.form.valid),Se(8),an("ngIf",o.loader)}},dependencies:[F_,k_,j_,Ji,Rv,kv,ca,ud],styles:[".main[_ngcontent-%COMP%]{overflow:hidden;background-image:url(main_bg.b49fe65690c7e552.png);background-position:top center;background-repeat:no-repeat;background-size:cover}.header[_ngcontent-%COMP%]{padding:40px 0}.header[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;align-items:center}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:bottom}.menu[_ngcontent-%COMP%]{margin-left:191px}.menu-list[_ngcontent-%COMP%]{list-style:none;display:flex}.menu-item[_ngcontent-%COMP%]{margin-right:88px}.menu-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:18px;color:#fff;text-decoration:none;cursor:pointer}.menu-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{border-bottom:2px solid white}.currency[_ngcontent-%COMP%]{border:1px solid #ffffff;border-radius:5px;width:45px;height:45px;padding:6px;box-sizing:border-box;text-align:center;cursor:pointer;line-height:32px;margin-left:auto;-webkit-user-select:none;user-select:none}.main-content[_ngcontent-%COMP%]{padding-top:103px;padding-bottom:199px}.main-content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{position:relative}.main-info[_ngcontent-%COMP%]{max-width:608px}.main-small-info[_ngcontent-%COMP%]{display:inline-block;padding:12px 16px;border-radius:100px;background:#D3320F;font-size:18px}.main-title[_ngcontent-%COMP%]{font-family:Merriweather,sans-serif;font-size:120px;line-height:130%;letter-spacing:.03em;text-transform:uppercase;margin-bottom:56px}.main-text[_ngcontent-%COMP%]{font-size:24px;line-height:29px;margin-bottom:56px}.main-image[_ngcontent-%COMP%]{position:absolute;top:100px;left:calc(100% - 1200px)}.why[_ngcontent-%COMP%]{background-image:url(whybg.4726c15747c4e065.png);background-position:top center;padding-bottom:180px;background-repeat:no-repeat;background-size:cover}.why-items[_ngcontent-%COMP%]{margin-top:60px;display:grid;gap:100px;grid-template-columns:repeat(3,312px);justify-content:center}.why-item[_ngcontent-%COMP%]{text-align:center}.why-item-image[_ngcontent-%COMP%]{width:100px;height:100px}.why-item-title[_ngcontent-%COMP%]{font-size:24px;line-height:29px;padding:24px 0}.why-item-text[_ngcontent-%COMP%]{font-size:16px;line-height:140%}.products[_ngcontent-%COMP%]{background-image:url(burgers_bg.3c9ecd57173d6620.png);background-position:top center;background-size:1400px;padding-bottom:180px;background-repeat:no-repeat}.products-items[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,384px);gap:24px;margin-top:60px}.products-item[_ngcontent-%COMP%]{padding:30px;background:#211A16;border-radius:16px;border:1px solid #353535}.products-item-image[_ngcontent-%COMP%]{height:250px}.products-item-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;transition:all .5s ease}.products-item-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.products-item-title[_ngcontent-%COMP%]{font-size:24px;line-height:29px;padding:24px 0}.products-item-text[_ngcontent-%COMP%]{font-size:16px;line-height:140%;margin-bottom:24px}.products-item-extra[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.products-item-price[_ngcontent-%COMP%]{font-size:32px;line-height:39px;margin-bottom:8px}.products-item-weight[_ngcontent-%COMP%]{color:#757575;font-size:16px;line-height:18px}.button.product-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:182px;height:62px}.button.product-button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:first-child{margin-right:10px}.order[_ngcontent-%COMP%]{background-image:url(order_bg.b64c44d05a870e37.png);background-position:top center;background-repeat:no-repeat;background-size:cover;padding-bottom:180px;overflow:hidden}.order[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{position:relative}.order-image[_ngcontent-%COMP%]{position:absolute;top:0;right:calc(100% - 764px);z-index:1}.order-form[_ngcontent-%COMP%]{border-radius:16px;border:1px solid #353535;background:#211A16;margin-top:60px;max-width:426px;box-sizing:border-box;padding:60px 40px;margin-left:674px}.order-form-text[_ngcontent-%COMP%]{text-align:center;font-size:24px;line-height:29px}.order-form-inputs[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:40px}.order-form-input[_ngcontent-%COMP%]{background:linear-gradient(95.61deg,#DA8023 0%,#E2B438 100%);width:344px;height:62px;border-radius:8px;margin-bottom:20px;display:flex;align-items:center;justify-content:center}.order-form-input.error[_ngcontent-%COMP%]{background:red}.order-form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:20px 10px;background:#211A16;border-radius:8px;width:342px;height:60px;box-sizing:border-box;outline:none;border:1px solid transparent;color:#fff}.order-form-inputs[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{width:344px;height:62px}.footer[_ngcontent-%COMP%]{padding:60px 0}.footer[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.rights[_ngcontent-%COMP%]{font-size:16px;line-height:20px}.loader[_ngcontent-%COMP%]{top:0;width:100%;height:100%;background:#191411;position:fixed;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s ease-in-out}.loader[_ngcontent-%COMP%]   lottie-player[_ngcontent-%COMP%]{display:block;width:300px;height:300px}.loader.showed[_ngcontent-%COMP%]{opacity:1}@media screen and (max-width: 1225px){.main[_ngcontent-%COMP%], .products[_ngcontent-%COMP%], .order[_ngcontent-%COMP%]{background:none}.container[_ngcontent-%COMP%]{padding-left:15px;padding-right:15px}.header[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{flex-wrap:wrap;max-width:420px;justify-content:center}.header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{order:1}.menu[_ngcontent-%COMP%]{margin:20px 0;order:3;flex-basis:100%}.menu[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{justify-content:space-between}.menu-item[_ngcontent-%COMP%]{margin-left:5px;margin-right:5px;text-align:center}.currency[_ngcontent-%COMP%]{margin-left:20px;order:2}.main-image[_ngcontent-%COMP%]{z-index:-1;opacity:.4}.why-items[_ngcontent-%COMP%]{grid-template-columns:auto;max-width:500px;margin-left:auto;margin-right:auto}.products-items[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(290px,384px));justify-content:center}.products-item[_ngcontent-%COMP%]{padding:15px}.products-item-image[_ngcontent-%COMP%]{height:auto}.order[_ngcontent-%COMP%]{padding-bottom:20px}.order-image[_ngcontent-%COMP%]{width:800px;z-index:-1}.order-form[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:426px;width:auto;padding:20px}.order-form-input[_ngcontent-%COMP%]{max-width:100%;width:auto}.order-form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:calc(100% - 2px)}.order-form-inputs[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{width:100%;margin:0 auto}}@media screen and (max-width: 570px){.main-title[_ngcontent-%COMP%]{font-size:65px;margin-top:20px}.common-title[_ngcontent-%COMP%]{font-size:36px;line-height:46px}.footer[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{flex-direction:column;justify-content:center}.rights[_ngcontent-%COMP%]{margin-top:20px}}"]}),t})(),q4=(()=>{var e;class t{}return(e=t).\u0275fac=function(r){return new(r||e)},e.\u0275mod=Vt({type:e,bootstrap:[z4]}),e.\u0275inj=_t({imports:[Qx,l4,R4]}),t})();Zx().bootstrapModule(q4).catch(e=>console.error(e))}},re=>{re(re.s=497)}]);